Skip to content

Instantly share code, notes, and snippets.

@bradymiller
Forked from robertdown/phpcbf.sh
Last active July 21, 2019 19:06
Show Gist options
  • Save bradymiller/ae5069a058683b5a02c58b6afbcdace8 to your computer and use it in GitHub Desktop.
Save bradymiller/ae5069a058683b5a02c58b6afbcdace8 to your computer and use it in GitHub Desktop.
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 .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment