Last active
November 4, 2016 17:11
-
-
Save dev-ext/7d8539c711ac5f76bd0199dca8f9c032 to your computer and use it in GitHub Desktop.
Revisions
-
Prosenjit Manna revised this gist
Nov 4, 2016 . 1 changed file with 0 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +0,0 @@ -
Prosenjit Manna revised this gist
Oct 26, 2016 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ { "projects_path": ["/home/prosenjit/sublime-projects"] } -
Prosenjit Manna renamed this gist
Oct 18, 2016 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
Prosenjit Manna created this gist
Oct 18, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ { "phpcs_executable_path": "/usr/local/bin/phpcs", "php_cs_fixer_executable_path": "/usr/local/bin/php-cs-fixer", "phpcbf_executable_path": "/usr/local/bin/phpcbf", "phpmd_executable_path": "/usr/local/bin/phpmd", "phpcs_additional_args": { "--standard": "WordPress", "-n": "" }, "phpcbf_additional_args": { "--standard": "WordPress", "-n": "" }, } 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ curl -OL https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar chmod 777 phpcs.phar sudo mv phpcs.phar /usr/local/bin/phpcs curl -OL https://squizlabs.github.io/PHP_CodeSniffer/phpcbf.phar sudo chmod 777 phpcbf.phar sudo mv phpcbf.phar /usr/local/bin/phpcbf curl -L https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v1.12.2/php-cs-fixer.phar -o php-cs-fixer sudo chmod a+x php-cs-fixer sudo mv php-cs-fixer /usr/local/bin/php-cs-fixer wget -c http://static.phpmd.org/php/latest/phpmd.phar chmod 777 phpmd.phar sudo mv phpmd.phar /usr/local/bin/phpmd git clone --depth=1 -b master https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git wpcs sudo phpcs --config-set installed_paths ~/dev/wpcs/ phpcs -i