Skip to content

Commit a97a6cc

Browse files
authored
Merge pull request #78 from jrfnl/feature/cs-fixes-3
PHPCS: fix up the code base [3] - prefix global variables
2 parents 46aecf8 + ccc480c commit a97a6cc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

language-command.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
return;
55
}
66

7-
$autoload = dirname( __FILE__ ) . '/vendor/autoload.php';
7+
$wpcli_language_autoloader = dirname( __FILE__ ) . '/vendor/autoload.php';
88

9-
if ( file_exists( $autoload ) ) {
10-
require_once $autoload;
9+
if ( file_exists( $wpcli_language_autoloader ) ) {
10+
require_once $wpcli_language_autoloader;
1111
}
1212

1313
WP_CLI::add_command( 'language core', 'Core_Language_Command', array(

0 commit comments

Comments
 (0)