Created
November 26, 2018 19:03
-
-
Save tangoslee/c44ab2335f0e5dd17589dca8b00ca557 to your computer and use it in GitHub Desktop.
install phpcs for wordpress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
composer global require "squizlabs/php_codesniffer=*" | |
composer global require "wp-coding-standards/wpcs" | |
phpcs --config-set installed_paths $HOME/.composer/vendor/wp-coding-standards/wpcs | |
phpcs --config-set default_standard WordPress-Extra |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment