WordPress-Coding-Standards icon indicating copy to clipboard operation
WordPress-Coding-Standards copied to clipboard

Handbook: check namespace names against naming conventions

Open jrfnl opened this issue 2 years ago • 0 comments

Is your feature request related to a problem?

A sniff should be added to address the following handbook rule:

Each part of a namespace name should consist of capitalized words separated by underscores

Ref: https://developer.wordpress.org/coding-standards/wordpress-coding-standards/php/#namespace-declarations

Additional context (optional)

Related issue in PHPCSExtra: https://github.com/PHPCSStandards/PHPCSExtra/issues/231

jrfnl avatar Jul 19 '23 18:07 jrfnl