jpry / jpry-wp-coding-standards
Customized WordPress coding standards
Package info
github.com/JPry/jpry-wp-coding-standards
Type:phpcodesniffer-standard
pkg:composer/jpry/jpry-wp-coding-standards
v1.0.1
2017-10-04 20:06 UTC
Requires
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-05 23:22:37 UTC
README
Customized set of coding stanardards for WordPress.
This ruleset includes the following standards from the main WordPress Coding Standards repository:
- WordPress-Core
- WordPress-Docs
- WordPress-Extra
It includes the following modifications:
- WordPress file naming conventions are ignored (
WordPress.Files.FileNamesniff). This allows for modern naming standards that specify the class name as the file name. - The
create_functionandobfuscationgroups from theWordPress.PHP.DiscouragedPHPFunctionssniff are ignored. This is in line with the normal WordPress rules.