Skip to content

Commit eeeccb4

Browse files
committed
Update ExpressionResultTest.php
1 parent 393d656 commit eeeccb4

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
@@ -103,6 +103,10 @@ public static function dataIsAlwaysTerminating(): array
103103
'call_user_func(function() { exit(); });',
104104
true,
105105
],
106+
[
107+
'usort($arr, static function($a, $b):int { return $a <=> $b; });',
108+
false,
109+
],
106110
[
107111
'var_dump(1+exit());',
108112
true,

0 commit comments

Comments
 (0)