Commit b4f3ef5
Add FilterVarRule test for FILTER_FLAG_GLOBAL_RANGE on PHP 8.5+
Ensures FILTER_FLAG_GLOBAL_RANGE|FILTER_NULL_ON_FAILURE does not falsely
trigger the "cannot use both" error on PHP 8.5+ where the constants have
distinct values.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 001b55d commit b4f3ef5
File tree
2 files changed
+20
-0
lines changed- tests/PHPStan/Rules/Functions
- data
2 files changed
+20
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
40 | 46 | | |
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
0 commit comments