Created
July 15, 2018 19:45
-
-
Save Blake-C/93de3de71d635d3b499777a873d636cd to your computer and use it in GitHub Desktop.
PHPCS/WPCS
This file contains hidden or 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
| apt-get update | |
| apt-get install php-xml | |
| composer global require "squizlabs/php_codesniffer=3.*" | |
| mkdir /utilities | |
| cd /utilities | |
| git clone https://github.com/PHPCompatibility/PHPCompatibility.git | |
| cd PHPCompatibility | |
| git checkout tags/8.1.0 | |
| cd /utilities | |
| git clone https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git | |
| cd WordPress-Coding-Standards | |
| git checkout tags/0.14.1 | |
| phpcs --config-set installed_paths /utilities/WordPress-Coding-Standards,/utilities/PHPCompatibility |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment