Searched refs:stubFile (Results 1 – 1 of 1) sorted by relevance
66 function processStubFile(string $stubFile, Context $context, bool $includeOnly = false): ?FileInfo { argument68 if (!file_exists($stubFile)) {69 throw new Exception("File $stubFile does not exist");73 $stubFilenameWithoutExtension = str_replace(".stub.php", "", $stubFile);77 $stubCode = file_get_contents($stubFile);86 if (!$fileInfo = $context->parsedFiles[$stubFile] ?? null) {88 $stubContent = $stubCode ?? file_get_contents($stubFile);90 $context->parsedFiles[$stubFile] = $fileInfo;94 $prefixes = [dirname($stubFile) . "/", dirname(__DIR__) . "/"];103 … throw new Exception("File $stubFile includes a file $dependency which does not exist");[all …]
Completed in 18 milliseconds