codeatcode/codeatcs

Codeat PHPCS ruleset for OOP WordPress development on PHP 7.0+, include phpmd ruleset

Installs: 7 980

Dependents: 6

Suggesters: 0

Security: 0

Stars: 3

Watchers: 3

Forks: 2

Open Issues: 1

Language:Shell

Type:phpcodesniffer-standard

1.0.32 2024-02-06 15:48 UTC

README

Packagist

CodeatCS is a project with rulsets used for the Codeat plugins/themes development based on WordPress Coding Standards project, implementing official WordPress PHP Coding Standards, Slevomat Coding Standard, PHPCompatibilityWP and PHPCompatibilityWP.

PHP Code Sniffer

How to disable rules

phpcs --standard=./vendor/codeatcode/codeatcs/CodeatCodingStandard/ruleset.xml ./file.php  -s

The -s parameter shows sniff codes in all reports.