Skip to content

Commit eb1551f

Browse files
committed
Lint fix
1 parent 8bf8b43 commit eb1551f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Server_Command.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php
22

33
use WP_CLI\Utils;
4+
use WP_CLI\Path;
45

56
class Server_Command extends WP_CLI_Command {
67

@@ -107,7 +108,7 @@ public function __invoke( $args, $assoc_args ) {
107108
}
108109

109110
// Get the path to the router file
110-
$command_root = Utils\phar_safe_path( dirname( __DIR__ ) );
111+
$command_root = Path::phar_safe( dirname( __DIR__ ) );
111112
$router_path = $command_root . '/router.php';
112113
if ( ! file_exists( $router_path ) ) {
113114
WP_CLI::error( "Couldn't find router.php" );

0 commit comments

Comments
 (0)