Ignore vendor directory when running phpcs

This commit is contained in:
Kienan Stewart 2018-07-28 15:00:44 -04:00
parent e76afe5d3f
commit 51fac6a4d5
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ php:
- 5.5
script:
- grep --exclude-dir=../.git/ --exclude-dir=../vendor/ -l -r -e '#!/bin/[bash|sh]' ../ | uniq | xargs shellcheck
- ../vendor/bin/phpcs ../
- ../vendor/bin/phpcs --ignore=../vendor/ ../
- ../vendor/bin/phpunit --coverage-clover=coverage.clover
before_script:
- composer require phpunit/dbunit=3.0.1 squizlabs/php_codesniffer