Skip to content

Commit 23a2b41

Browse files
committed
Update ExpressionResultTest.php
1 parent be47978 commit 23a2b41

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
@@ -105,6 +105,10 @@ public static function dataIsAlwaysTerminating(): array
105105
'(function() { exit(); })();',
106106
true,
107107
],
108+
[
109+
'function () {};',
110+
false,
111+
],
108112
[
109113
'call_user_func(function() { exit(); });',
110114
true,

0 commit comments

Comments
 (0)