mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
简化CI测试
This commit is contained in:
@@ -36,8 +36,6 @@ install:
|
|||||||
script:
|
script:
|
||||||
## LINT
|
## LINT
|
||||||
- find . -path ./vendor -prune -o -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
|
## PHP Copy/Paste Detector
|
||||||
- vendor/bin/phpcpd --verbose --exclude vendor ./ || true
|
- vendor/bin/phpcpd --verbose --exclude vendor ./ || true
|
||||||
## PHPLOC
|
## PHPLOC
|
||||||
|
|||||||
@@ -24,13 +24,11 @@
|
|||||||
"johnkary/phpunit-speedtrap": "^1.0",
|
"johnkary/phpunit-speedtrap": "^1.0",
|
||||||
"mikey179/vfsStream": "~1.6",
|
"mikey179/vfsStream": "~1.6",
|
||||||
"phploc/phploc": "2.*",
|
"phploc/phploc": "2.*",
|
||||||
"sebastian/phpcpd": "2.*",
|
"sebastian/phpcpd": "2.*"
|
||||||
"squizlabs/php_codesniffer": "2.*",
|
|
||||||
"phpdocumentor/reflection-docblock": "^2.0"
|
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"think\\": "library/think"
|
"think\\": "library/think"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user