Skip to content

Instantly share code, notes, and snippets.

@bradymiller
bradymiller / phpcbf.sh
Last active July 21, 2019 19:06 — forked from robertdown/phpcbf.sh
Apply code standards to OpenEMR
# run without fixing items
php ~/git/PHP_CodeSniffer/bin/phpcs -n --extensions=php,inc --standard=ci/phpcs.xml --report=full .
# run and fix items
php ~/git/PHP_CodeSniffer/bin/phpcbf -n --extensions=php,inc --standard=ci/phpcs.xml .