jpry/jpry-wp-coding-standards

Customized WordPress coding standards

Installs: 10

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:phpcodesniffer-standard

v1.0.1 2017-10-04 20:06 UTC

This package is auto-updated.

Last update: 2024-11-05 19:17:36 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.FileName sniff). This allows for modern naming standards that specify the class name as the file name.
  • The create_function and obfuscation groups from the WordPress.PHP.DiscouragedPHPFunctions sniff are ignored. This is in line with the normal WordPress rules.