Skip to content

Commit b6beb93

Browse files
committed
Update ExpressionResultTest.php
1 parent e9b415f commit b6beb93

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
@@ -117,6 +117,10 @@ public static function dataIsAlwaysTerminating(): array
117117
'call_user_func(function() { exit(); });',
118118
true,
119119
],
120+
[
121+
'usort($arr, static function($a, $b):int { return $a <=> $b; });',
122+
false,
123+
],
120124
[
121125
'var_dump(1+exit());',
122126
true,

0 commit comments

Comments
 (0)