Skip to content

Commit

Permalink
Update stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
phpstan-bot committed Oct 9, 2024
1 parent 86cd27d commit 64fbb35
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Php8StubsMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -2806,8 +2806,10 @@ public function __construct(int $phpVersionId)
'bcdivmod' => 'stubs/ext/bcmath/bcdivmod.php',
'bcfloor' => 'stubs/ext/bcmath/bcfloor.php',
'bcround' => 'stubs/ext/bcmath/bcround.php',
'die' => 'stubs/Zend/die.php',
'dom\\adjacentposition' => 'stubs/ext/dom/Dom/AdjacentPosition.php',
'dom\\import_simplexml' => 'stubs/ext/dom/Dom/import_simplexml.php',
'exit' => 'stubs/Zend/exit.php',
'fpow' => 'stubs/ext/standard/fpow.php',
'grapheme_str_split' => 'stubs/ext/intl/grapheme_str_split.php',
'http_clear_last_response_headers' => 'stubs/ext/standard/http_clear_last_response_headers.php',
Expand Down
7 changes: 7 additions & 0 deletions stubs/Zend/die.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

/** @alias exit */
#[\Since('8.4')]
function die(string|int $status = 0): never
{
}
6 changes: 6 additions & 0 deletions stubs/Zend/exit.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php

#[\Since('8.4')]
function exit(string|int $status = 0): never
{
}

0 comments on commit 64fbb35

Please sign in to comment.