codeatcode / codeatcs
Codeat PHPCS ruleset for OOP WordPress development on PHP 7.0+, include phpmd ruleset
Installs: 9 670
Dependents: 6
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 2
Open Issues: 1
Language:Shell
Type:phpcodesniffer-standard
Requires
- php: >=7.3
- phpcompatibility/php-compatibility: *
- phpcompatibility/phpcompatibility-wp: *
- slevomat/coding-standard: ^8.5.2
- squizlabs/php_codesniffer: ^3.6.2
- wp-coding-standards/wpcs: dev-develop#2.3.0-fix-vsprintf
Requires (Dev)
Suggests
This package is auto-updated.
Last update: 2024-11-21 15:04:41 UTC
README
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.