- PSR-12 Extended Coding Style as starting point (formatting)
- All WPCS features through Neutron (except formatting)
- File permission bits
- Strict types
- File, class and method comments
- Handpicked Slevomat rules
composer require --dev szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset
./vendor/bin/phpcs --standard=PSR12NeutronRuleset src/- The origins of the
@packagetag are in PEAR where packages are called for exampleNet_Ping - You can put your Composer package name there:
yoast/phpunit-polyfills - Or you can use your WordPress.org plugin slug:
wordpress-seo