From 4366aa2fb04dd60d139d3d3ba4e8204b0e2788d7 Mon Sep 17 00:00:00 2001 From: Gabriel Caruso Date: Wed, 10 Jan 2018 13:56:05 -0200 Subject: [PATCH] [CS] Use __DIR__ instead of dirname(__FILE__) --- test_old/run.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_old/run.php b/test_old/run.php index 37894f97..31846cf6 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' => [