ngearing / phpcs-wp
php code styling and ruleset for WordPress
Installs: 38
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:project
This package is auto-updated.
Last update: 2024-03-29 03:50:36 UTC
README
Requirements
Composer
Install
composer require ngearing/phpcs-wp:dev-master
How to use
From the root of your project directory run the following from your terminal:
vendor/bin/phpcs .
Or to fix errors
vendor/bin/phpcbf .
To check PHP compatibilty
vendor/bin/phpcs --runtime-set testVersion 7.0-