Open
Description
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.