Install:
composer global require "squizlabs/php_codesniffer=*"Show available coding standards:
phpcs -iThe installed coding standards are MySource, PEAR, PHPCS, PSR1, PSR2, Squiz and Zendphpcs = coding standards check only.
phpcs --standard=PSR2 /Applications/MAMP/htdocs/davidvandertuijn/appphpcbf = code beautifier and fixer.
PHP:
phpcbf --standard=PSR2 /Applications/MAMP/htdocs/davidvandertuijn/appCSS:
phpcbf /Applications/MAMP/htdocs/davidvandertuijn/public/assets/cssJS:
phpcbf /Applications/MAMP/htdocs/davidvandertuijn/public/assets/js