修复 find lint 测试

This commit is contained in:
7IN0SAN9
2016-03-24 15:36:12 +08:00
parent 02599b82dd
commit 0b7a02a075

View File

@@ -35,7 +35,7 @@ install:
script:
## LINT
- find ./ ! -path "vendor/*" -type f -name \*.php -exec php -l {} \;
- find . -path ./vendor -prune -o -type f -name \*.php -exec php -l {} \;
## PHP_CodeSniffer
- vendor/bin/phpcs --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 --standard=PSR2 --ignore="vendor/*" ./
## PHP Copy/Paste Detector