File tree Expand file tree Collapse file tree 3 files changed +3
-15
lines changed
Expand file tree Collapse file tree 3 files changed +3
-15
lines changed Original file line number Diff line number Diff line change 88 * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
99 */
1010
11- if (is_file (__DIR__ .'/../autoload.php ' ) === true ) {
12- include_once __DIR__ .'/../autoload.php ' ;
13- } else {
14- include_once 'PHP/CodeSniffer/autoload.php ' ;
15- }
11+ require_once __DIR__ .'/../autoload.php ' ;
1612
1713$ runner = new PHP_CodeSniffer \Runner ();
1814$ exitCode = $ runner ->runPHPCBF ();
Original file line number Diff line number Diff line change 88 * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
99 */
1010
11- if (is_file (__DIR__ .'/../autoload.php ' ) === true ) {
12- include_once __DIR__ .'/../autoload.php ' ;
13- } else {
14- include_once 'PHP/CodeSniffer/autoload.php ' ;
15- }
11+ require_once __DIR__ .'/../autoload.php ' ;
1612
1713$ runner = new PHP_CodeSniffer \Runner ();
1814$ exitCode = $ runner ->runPHPCS ();
Original file line number Diff line number Diff line change 1919 define ('PHP_CODESNIFFER_VERBOSITY ' , 0 );
2020}
2121
22- if (is_file (__DIR__ .'/../autoload.php ' ) === true ) {
23- include_once __DIR__ .'/../autoload.php ' ;
24- } else {
25- include_once 'PHP/CodeSniffer/autoload.php ' ;
26- }
22+ require_once __DIR__ .'/../autoload.php ' ;
2723
2824$ tokens = new \PHP_CodeSniffer \Util \Tokens ();
2925
You can’t perform that action at this time.
0 commit comments