diff --git a/test_old/run.php b/test_old/run.php index 37894f9..31846cf 100644 --- a/test_old/run.php +++ b/test_old/run.php @@ -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' => [