Commit 2b059ba
Add non-regression rule tests for strict comparison false positives
Add rule tests for bug-14407 and bug-13421 to verify that the strict
comparison rule no longer reports false positive errors on these files.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 3664373 commit 2b059ba
File tree
1 file changed
+12
-0
lines changed- tests/PHPStan/Rules/Comparison
1 file changed
+12
-0
lines changedLines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1172 | 1172 | | |
1173 | 1173 | | |
1174 | 1174 | | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
1175 | 1187 | | |
0 commit comments