PHP_CodeSniffer icon indicating copy to clipboard operation
PHP_CodeSniffer copied to clipboard

Add a report that shows ignores without matches

Open temp opened this issue 1 year ago • 0 comments

Is your feature request related to a problem?

The problem is that in long running projects there will be a lot of ignores that might be outdated, because rulesets changed. These can only be resolved very cumbersome, by removing single ignores and running phpcs afterwards.

Describe the solution you'd like

In https://github.com/PHPCSStandards/PHP_CodeSniffer/discussions/808 @jrfnl suggested a specialized report that only highlights ignores without matches. This would be a huge help. It would be nice to have this on-the-fly like phpstan does, but with the current codebase this is not possible.

temp avatar Feb 18 '25 08:02 temp