[CS] Use __DIR__ instead of dirname(__FILE__)

This commit is contained in:
Gabriel Caruso 2018-01-10 13:56:05 -02:00 committed by Nikita Popov
parent bf7d811cda
commit 4366aa2fb0

View File

@ -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' => [