mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 23:22:48 +08:00
修复路径
This commit is contained in:
@@ -35,13 +35,13 @@ install:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
## LINT
|
## LINT
|
||||||
- find thinkphp ! -path "vendor/*" -type f -name \*.php -exec php -l {} \;
|
- find ./ ! -path "vendor/*" -type f -name \*.php -exec php -l {} \;
|
||||||
## PHP_CodeSniffer
|
## PHP_CodeSniffer
|
||||||
- vendor/bin/phpcs --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 --standard=PSR2 --ignore="vendor/*" thinkphp
|
- 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
|
## PHP Copy/Paste Detector
|
||||||
- vendor/bin/phpcpd --verbose --exclude vendor thinkphp || true
|
- vendor/bin/phpcpd --verbose --exclude vendor ./ || true
|
||||||
## PHPLOC
|
## PHPLOC
|
||||||
- vendor/bin/phploc --exclude vendor thinkphp
|
- vendor/bin/phploc --exclude vendor ./
|
||||||
## PHPUNIT
|
## PHPUNIT
|
||||||
- vendor/bin/phpunit --coverage-clover=coverage.xml --configuration=phpunit.xml
|
- vendor/bin/phpunit --coverage-clover=coverage.xml --configuration=phpunit.xml
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user