Searched refs:phpParserDir (Results 1 – 1 of 1) sorted by relevance
4594 function installPhpParser(string $version, string $phpParserDir) { argument4603 if (is_dir($phpParserDir)) {4618 if (!mkdir($phpParserDir)) {4619 throw new Exception("Failed to create directory $phpParserDir");4645 $phpParserDir = __DIR__ . "/PHP-Parser-$version";4646 if (!is_dir($phpParserDir)) {4647 installPhpParser($version, $phpParserDir);4650 spl_autoload_register(static function(string $class) use ($phpParserDir) {4652 $fileName = $phpParserDir . "/lib/" . str_replace("\\", "/", $class) . ".php";
Completed in 23 milliseconds