You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, IDK if it's the right place for me to talk about this, but we use phpcs without ruleset.xml and couldn't figure out why a 4-part code exclude wasn't working. The error message only says about rule not being found.
Describe the solution you'd like
Explicitly say in wiki and in CLI help that --exclude option doesn't work with 4-part codes.
To be frank, our version of phpcs is quite old (3.4.0) so it may be fixed in newer versions, but I only could find about it from this comment in old repo: squizlabs/PHP_CodeSniffer#1755 (comment)
This could save others time to find out why their exclude is not working.