Repository navigation
Commit 4802c97
Cover both PHPStan identifiers on method_exists guard
The method_exists() guard evaluates to true on PHP >= 8.2 (installs
options-resolver 7.3+ where setOptions exists) and false on PHP < 8.2
(installs 4.4-7.2 where it doesn't). PHPStan reports different
identifiers per outcome (function.alreadyNarrowedType vs
function.impossibleType). List both in the inline ignore so the
relevant one matches on each PHP version in the CI matrix.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 0e66d7d commit 4802c97
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| |||
0 commit comments