Searched refs:phpParserDir (Results 1 – 1 of 1) sorted by relevance
6097 function installPhpParser(string $version, string $phpParserDir) { argument6106 if (is_dir($phpParserDir)) {6121 if (!mkdir($phpParserDir)) {6122 throw new Exception("Failed to create directory $phpParserDir");6148 $phpParserDir = __DIR__ . "/PHP-Parser-$version";6149 if (!is_dir($phpParserDir)) {6150 installPhpParser($version, $phpParserDir);6153 spl_autoload_register(static function(string $class) use ($phpParserDir) {6155 $fileName = $phpParserDir . "/lib/" . str_replace("\\", "/", $class) . ".php";
Completed in 19 milliseconds