Skip to content

Commit 5a9c605

Browse files
authored
Merge pull request #71 from wp-cli/fix/wpcs-3.0-issues
2 parents 058ab77 + db9a3b3 commit 5a9c605

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"wp-cli/wp-cli": "^2.5"
1616
},
1717
"require-dev": {
18-
"wp-cli/wp-cli-tests": "^3.1"
18+
"wp-cli/wp-cli-tests": "^4"
1919
},
2020
"config": {
2121
"process-timeout": 7200,

eval-command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
return;
55
}
66

7-
$wpcli_eval_autoloader = dirname( __FILE__ ) . '/vendor/autoload.php';
7+
$wpcli_eval_autoloader = __DIR__ . '/vendor/autoload.php';
88
if ( file_exists( $wpcli_eval_autoloader ) ) {
99
require_once $wpcli_eval_autoloader;
1010
}

src/EvalFile_Command.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,3 @@ private static function execute_eval( $file, $args, $use_include ) {
8686
}
8787
}
8888
}
89-

0 commit comments

Comments
 (0)