Created
August 3, 2017 19:54
-
-
Save vishalkakadiya/df672152acfbb45fb34c6d4a8ef77477 to your computer and use it in GitHub Desktop.
Commands to Upgrade PHPcs and WordPress_Coding_Standards
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
// Update PHPcs | |
sudo pear upgrade-all and sudo pear install PHP_CodeSniffer | |
// Check version of PHPcs | |
phpcs --version | |
// Go to Where coding standards available | |
/usr/local/pear/share/pear/PHP/CodeSniffer/Standards/WordPress-Coding-Standards | |
// Then pull data from git repo(whatever branch - mostly it will be develop) | |
git pull origin develop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment