Skip to content

Commit 86cd27d

Browse files
committedOct 9, 2024··
Update nikic/php-parser
1 parent 212d2b2 commit 86cd27d

File tree

2 files changed

+6
-15
lines changed

2 files changed

+6
-15
lines changed
 

Diff for: ‎extractor/composer.lock

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: ‎extractor/extract.php

-9
Original file line numberDiff line numberDiff line change
@@ -250,15 +250,6 @@ public function clear(): void
250250
if ($stubContents === false) {
251251
throw new \LogicException('Could not read stub');
252252
}
253-
if (str_ends_with($stubPath, '/Zend/zend_builtin_functions.stub.php')) {
254-
$stubContents = str_replace([
255-
'function exit',
256-
'function die',
257-
], [
258-
'function _exit',
259-
'function _die',
260-
], $stubContents);
261-
}
262253
$ast = $this->parser->parse($stubContents);
263254
if ($ast === null) {
264255
throw new \LogicException('AST cannot be null');

0 commit comments

Comments
 (0)
Please sign in to comment.