1
0
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:
David Grudl
2019-12-10 17:08:07 +01:00
parent 294787a26e
commit 7d55fd03b0
2 changed files with 7 additions and 6 deletions

View File

@@ -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