mirror of
https://github.com/nikic/PHP-Parser.git
synced 2025-01-17 15:18:17 +01:00
[CS] Use __DIR__ instead of dirname(__FILE__)
This commit is contained in:
parent
bf7d811cda
commit
4366aa2fb0
@ -110,7 +110,7 @@ switch ($testType) {
|
||||
showHelp('Test type must be one of: PHP5, PHP7 or Symfony');
|
||||
}
|
||||
|
||||
require_once dirname(__FILE__) . '/../lib/PhpParser/Autoloader.php';
|
||||
require_once __DIR__ . '/../lib/PhpParser/Autoloader.php';
|
||||
PhpParser\Autoloader::register();
|
||||
|
||||
$lexer = new PhpParser\Lexer\Emulative(['usedAttributes' => [
|
||||
|
Loading…
x
Reference in New Issue
Block a user