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);87 … $hasSpecialExitAsFunctionHandling = str_ends_with($stubFile, 'zend_builtin_functions.stub.php');88 if (!$fileInfo = $context->parsedFiles[$stubFile] ?? null) {90 $stubContent = $stubCode ?? file_get_contents($stubFile);95 $context->parsedFiles[$stubFile] = $fileInfo;99 $prefixes = [dirname($stubFile) . "/", dirname(__DIR__) . "/"];[all …]
Completed in 19 milliseconds