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/BooleanAndConstantConditionRuleTest.php
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -463,6 +463,15 @@ public function testSelfContradiction(): void
463
463
[
464
464
'Result of && is always false.',
465
465
51,
466
+
],
467
+
[
468
+
'Result of && is always false.',
469
+
77,
470
+
'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%</>.',
471
+
],
472
+
[
473
+
'Result of && is always false.',
474
+
103,
466
475
'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%</>.',
0 commit comments