Skip to content
New issue

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

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

Already on GitHub? # to your account

New Sniff: Check variable name length #12

Open
GaryJones opened this issue Nov 12, 2017 · 0 comments
Open

New Sniff: Check variable name length #12

GaryJones opened this issue Nov 12, 2017 · 0 comments

Comments

@GaryJones
Copy link
Contributor

How about a new sniff, that checks for the length of the variable name, and gives a warning if it's below or above certain (changeable in phpcs.xml.dist) values?

Give exceptions for variables in for () statements?

There may already be a sniff in the PHPCS built-in standards that does this.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants