Skip to content

ngearing/phpcs-wp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Code Sniffing for WordPress

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-

About

php code styling and ruleset for WordPress

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published