Skip to content

Commit edd8755

Browse files
committed
Update ExpressionResultTest.php
1 parent e009dbb commit edd8755

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
'call_user_func(function() { exit(); });',
106106
true,
107107
],
108+
[
109+
'usort($arr, static function($a, $b):int { return $a <=> $b; });',
110+
false,
111+
],
108112
[
109113
'var_dump(1+exit());',
110114
true,

0 commit comments

Comments
 (0)