Improved Code Sniffing (#928)
commit3ede06c36fb31159ea6012c8b7fb069fb5823ded
authorJason Oettinger <jason@oettinger.email>
Sun, 16 Jul 2017 21:58:11 +0000 (16 17:58 -0400)
committerBrady Miller <brady.g.miller@gmail.com>
Sun, 16 Jul 2017 21:58:11 +0000 (16 14:58 -0700)
tree793ad15f8754433e061e656ef44b7a9829725011
parent594649a7dce02fc722c21988702c9ac20ea0e784
Improved Code Sniffing (#928)

* Adding strict PSR2 enforcement for new code
ci now brings in phpcs globally so it can be used by devs as well without polluting their openemr packages

* Using `composer global exec` to ensure accurate COMPOSER_HOME

* Adding lint_style_staged as an option, allowing pre-commit checks for PSR
generalized sniffing to function in ci.sh

* Fixing environment variable in .travis.yml

* Fixing multiline issue

* Allowing detection of `COMPOSER_HOME` without `composer exec`

* Actually installing phpcs on

* Removing Travis' strict interpretation of new commits
.travis.yml
ci/ci.sh
ci/phpcs_strict.xml [new file with mode: 0644]