Skip to content

Commit 407d473

Browse files
committed
Do not add _exit and _die to the map
1 parent 28f730d commit 407d473

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

extractor/extract.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,9 @@ public function clear(): void
284284
$classes[strtolower($namespacedName)] = $pathPart;
285285
$stmt = $this->filterClassPhpDocs($stmt);
286286
} else {
287+
if (in_array($namespacedName, ['_exit', '_die'], true)) {
288+
continue;
289+
}
287290
if (array_key_exists(strtolower($namespacedName), $functions)) {
288291
continue;
289292
}

0 commit comments

Comments
 (0)