File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 },
1717 "require-dev" : {
1818 "wp-cli/entity-command" : " ^1.3 || ^2" ,
19- "wp-cli/wp-cli-tests" : " ^3.1 "
19+ "wp-cli/wp-cli-tests" : " ^4 "
2020 },
2121 "config" : {
2222 "process-timeout" : 7200 ,
Original file line number Diff line number Diff line change 44 return ;
55}
66
7- $ wpcli_rewrite_autoloader = dirname ( __FILE__ ) . '/vendor/autoload.php ' ;
7+ $ wpcli_rewrite_autoloader = __DIR__ . '/vendor/autoload.php ' ;
88if ( file_exists ( $ wpcli_rewrite_autoloader ) ) {
99 require_once $ wpcli_rewrite_autoloader ;
1010}
Original file line number Diff line number Diff line change @@ -335,7 +335,7 @@ private static function apache_modules() {
335335 // needed for get_home_path() and .htaccess location
336336 $ _SERVER ['SCRIPT_FILENAME ' ] = ABSPATH ;
337337
338- function apache_get_modules () {
338+ function apache_get_modules () { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals
339339 return WP_CLI ::get_config ( 'apache_modules ' );
340340 }
341341 }
You can’t perform that action at this time.
0 commit comments