Repository navigation
Commit 4b4d5ed
Silence PHPStan tautology on setOptions() guard
PHPStan resolves OptionsResolver against the installed version (>= 7.3
in CI), where setOptions() exists, so the runtime method_exists() guard
appears tautological. Ignore the function.alreadyNarrowedType identifier
on that line so the guard remains in place for older OptionsResolver
versions allowed by the composer constraint.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 1b98f7a commit 4b4d5ed
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
149 | 151 | | |
150 | 152 | | |
151 | 153 | | |
| |||
0 commit comments