Skip to content

Commit a2f943f

Browse files
committed
Update ExpressionResultTest.php
1 parent 933a797 commit a2f943f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/PHPStan/Analyser/ExpressionResultTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ public static function dataIsAlwaysTerminating(): array
8585
'(fn() => exit())();', // immediately invoked function expression
8686
true,
8787
],
88+
[
89+
'register_shutdown_function(fn() => exit());',
90+
false,
91+
],
8892
[
8993
'@exit();',
9094
true,

0 commit comments

Comments
 (0)