Skip to content
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

4.0 | Make all sniff codes case insensitive in rulesets #183

Open
jrfnl opened this issue Dec 25, 2023 · 0 comments
Open

4.0 | Make all sniff codes case insensitive in rulesets #183

jrfnl opened this issue Dec 25, 2023 · 0 comments

Comments

@jrfnl
Copy link
Member

jrfnl commented Dec 25, 2023

Repost from squizlabs/PHP_CodeSniffer#1955 by @gsherwood:

Everywhere a sniff code or error message code is sourced from a ruleset, do case insensitive matching on the real sniff and error codes. This will allow for easier creation and maintenance of rulesets and will stop issues like squizlabs/PHP_CodeSniffer#1909 from occurring in the future.


I'm tentatively keeping this in the 4.0 milestone, but as I prefer to release 4.0 sooner rather than later, this issue may well move to the 5.0 milestone.

@jrfnl jrfnl added this to the 4.0.0 milestone Dec 25, 2023
@jrfnl jrfnl changed the title 4.0 Make all sniff codes case insensitive in rulesets 4.0 | Make all sniff codes case insensitive in rulesets Dec 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant