Skip to content

New Sniff: Check variable name length #12

Open
@GaryJones

Description

@GaryJones

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions