Home
last modified time | relevance | path

Searched refs:stubFile (Results 1 – 1 of 1) sorted by relevance

/PHP-8.2/build/
H A Dgen_stub.php58 function processStubFile(string $stubFile, Context $context, bool $includeOnly = false): ?FileInfo { argument
60 if (!file_exists($stubFile)) {
61 throw new Exception("File $stubFile does not exist");
65 $stubFilenameWithoutExtension = str_replace(".stub.php", "", $stubFile);
69 $stubCode = file_get_contents($stubFile);
78 if (!$fileInfo = $context->parsedFiles[$stubFile] ?? null) {
80 $fileInfo = parseStubFile($stubCode ?? file_get_contents($stubFile));
81 $context->parsedFiles[$stubFile] = $fileInfo;
85 $prefixes = [dirname($stubFile) . "/", dirname(__DIR__) . "/"];
94 … throw new Exception("File $stubFile includes a file $dependency which does not exist");
[all …]

Completed in 23 milliseconds