You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/PHPStan/Rules/Comparison/ImpossibleCheckTypeFunctionCallRuleTest.php
+6-17Lines changed: 6 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -74,14 +74,6 @@ public function testImpossibleCheckTypeFunctionCall(): void
74
74
'Call to function is_callable() with \'nonexistentFunction\' will always evaluate to false.',
75
75
87,
76
76
],
77
-
[
78
-
'Call to function is_numeric() with \'123\' will always evaluate to true.',
79
-
102,
80
-
],
81
-
[
82
-
'Call to function is_numeric() with \'blabla\' will always evaluate to false.',
83
-
105,
84
-
],
85
77
[
86
78
'Call to function is_numeric() with 123|float will always evaluate to true.',
87
79
118,
@@ -231,19 +223,11 @@ public function testImpossibleCheckTypeFunctionCall(): void
231
223
718,
232
224
'Because the type is coming from a PHPDoc, you can turn off this check by setting <fg=cyan>treatPhpDocTypesAsCertain: false</> in your <fg=cyan>%configurationFile%</>.',
233
225
],
234
-
[
235
-
'Call to function is_numeric() with \'123\' will always evaluate to true.',
236
-
718,
237
-
],
238
226
[
239
227
'Call to function assert() with false will always evaluate to false.',
240
228
719,
241
229
'Because the type is coming from a PHPDoc, you can turn off this check by setting <fg=cyan>treatPhpDocTypesAsCertain: false</> in your <fg=cyan>%configurationFile%</>.',
242
230
],
243
-
[
244
-
'Call to function is_numeric() with \'blabla\' will always evaluate to false.',
245
-
719,
246
-
],
247
231
[
248
232
'Call to function assert() with true will always evaluate to true.',
249
233
726,
@@ -1182,7 +1166,12 @@ public function testBug14177(): void
0 commit comments