mirror of
https://github.com/dg/dibi.git
synced 2025-08-31 09:41:43 +02:00
composer: added PHPStan
This commit is contained in:
@@ -46,12 +46,8 @@ jobs:
|
||||
|
||||
|
||||
- stage: Static Analysis (informative)
|
||||
install:
|
||||
# Install PHPStan
|
||||
- travis_retry composer create-project phpstan/phpstan-shim temp/phpstan --no-progress
|
||||
- travis_retry composer install --no-progress --prefer-dist
|
||||
script:
|
||||
- php temp/phpstan/phpstan.phar analyse --autoload-file vendor/autoload.php --level 5 src
|
||||
- composer run-script phpstan
|
||||
|
||||
|
||||
- stage: Code Coverage
|
||||
|
Reference in New Issue
Block a user