Searched refs:stubFile (Results 1 – 1 of 1) sorted by relevance
57 function processStubFile(string $stubFile, Context $context, bool $includeOnly = false): ?FileInfo { argument59 if (!file_exists($stubFile)) {60 throw new Exception("File $stubFile does not exist");64 $stubFilenameWithoutExtension = str_replace(".stub.php", "", $stubFile);68 $stubCode = file_get_contents($stubFile);77 if (!$fileInfo = $context->parsedFiles[$stubFile] ?? null) {79 $fileInfo = parseStubFile($stubCode ?? file_get_contents($stubFile));80 $context->parsedFiles[$stubFile] = $fileInfo;84 $prefixes = [dirname($stubFile) . "/", dirname(__DIR__) . "/"];93 … throw new Exception("File $stubFile includes a file $dependency which does not exist");[all …]
Completed in 29 milliseconds