Commit 1d61d45
authored
Ignore PHPStan's ClassReflection::isEnum error when analyzing the extension code on PHP 7.4 (#324)
The error is unintentional and maybe it will be resolved soon, but until then let's ignore it.
It needs to be ignored only when running on PHP 7.4 and with PHPStan 2.x. The ignore would be reported as unmatched when running with `--prefer-lowest` (PHPStan 1.x), so that's why `reportUnmatched` is set to `false`.
See phpstan/phpstan#128882 files changed
+19
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
0 commit comments