Searched refs:phpParserDir (Results 1 – 1 of 1) sorted by relevance
4878 function installPhpParser(string $version, string $phpParserDir) { argument4887 if (is_dir($phpParserDir)) {4902 if (!mkdir($phpParserDir)) {4903 throw new Exception("Failed to create directory $phpParserDir");4929 $phpParserDir = __DIR__ . "/PHP-Parser-$version";4930 if (!is_dir($phpParserDir)) {4931 installPhpParser($version, $phpParserDir);4934 spl_autoload_register(static function(string $class) use ($phpParserDir) {4936 $fileName = $phpParserDir . "/lib/" . str_replace("\\", "/", $class) . ".php";
Completed in 18 milliseconds