Skip to content

Remove stale PHPStan ignores - #8566

Merged
samsonasik merged 2 commits into
rectorphp:mainfrom
SanderMuller:phpstan-report-unmatched-ignores
Oct 9, 2026
Merged

samsonasik merged 2 commits into
rectorphp:mainfrom
SanderMuller:phpstan-report-unmatched-ignores

Conversation

@SanderMuller

@SanderMuller SanderMuller commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

With reportUnmatchedIgnoredErrors turned on, 8 ignores in phpstan.neon match nothing, and one points at rules/Naming/PhpArray/ArrayFilter.php, which no longer exists. This removes those 9 entries. The setting itself stays off for now, see the review thread.

One of them was the global arguments.count ignore for invoked with 2 parameters, 1 required, which hid the extra arguments fixed in #8564.

Comment thread phpstan.neon Resolved
@SanderMuller SanderMuller changed the title Report unmatched PHPStan ignores and remove the stale ones Remove stale PHPStan ignores Oct 9, 2026
@samsonasik
samsonasik merged commit b7c1cd5 into rectorphp:main Oct 9, 2026
50 checks passed
@samsonasik

Copy link
Copy Markdown
Member

Thank you @SanderMuller

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants