-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Is your feature request related to a problem? Please describe.
After fixing an error for which a baseline entry exists, and running phpcs, nothing happens. There's no difference in output.
Describe the solution you'd like
I would like to receive a warning or error from this tool saying that even though I fixed the phpcs error, the baseline entry is still there in phpcs.baseline.xml
.
Because right now, when somebody re-introduces the original error, it would not trigger a phpcs error/warning because it is still in the baseline, causing a false positive (or an unmatched ignored error).
Describe alternatives you've considered
No alternative
Additional context
PHPStan supports this ootb, it's the reportUnmatchedIgnoredErrors
parameter, see https://phpstan.org/user-guide/baseline