Skip to content

PHPStan: Ignore unmatched ignored errors when using a baseline #46

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

szeidler
Copy link
Member

This is relevant if you have created a baseline and you change/remove a file that had ignored errors.

Without the option you would need to recreate the baseline on "every second commit"

This is relevant if you have created a baseline and you change/remove a file that had ignored errors.

Without the option you would need to recreate the baseline on "every second commit"
@szeidler szeidler requested a review from jfauske March 28, 2025 15:29
Copy link
Contributor

@jfauske jfauske left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a bit ambivalent on this - I see your point, but also like the default behavior.

Perhaps add a short description on what uncommenting this switch does so it's easy to make a per project decission from just looking at the config file?

Approving either way as it's still commented by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants