Searched refs:phpParserDir (Results 1 – 1 of 1) sorted by relevance
5958 function installPhpParser(string $version, string $phpParserDir) { argument5967 if (is_dir($phpParserDir)) {5982 if (!mkdir($phpParserDir)) {5983 throw new Exception("Failed to create directory $phpParserDir");6009 $phpParserDir = __DIR__ . "/PHP-Parser-$version";6010 if (!is_dir($phpParserDir)) {6011 installPhpParser($version, $phpParserDir);6014 spl_autoload_register(static function(string $class) use ($phpParserDir) {6016 $fileName = $phpParserDir . "/lib/" . str_replace("\\", "/", $class) . ".php";
Completed in 18 milliseconds