Repository navigation
Commit bfe5b26
Drop the isset() on a foreach variable that PHPStan 2.2.15 no longer reports (#451)
The baseline ignored "Variable $c in isset() always exists" in Svg.php. PHPStan 2.2.15 stopped
reporting it, so the unmatched ignore failed static analysis on gravitypdf and every branch cut
from it. $c is always set inside its foreach, so the check goes and the ignore with it, which
passes under 2.2.14 and 2.2.15 alike.
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>1 parent af06334 commit bfe5b26
2 files changed
Lines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | 213 | | |
220 | 214 | | |
221 | 215 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3608 | 3608 | | |
3609 | 3609 | | |
3610 | 3610 | | |
3611 | | - | |
| 3611 | + | |
3612 | 3612 | | |
3613 | 3613 | | |
3614 | 3614 | | |
| |||
0 commit comments