diff --git a/.travis.yml b/.travis.yml index 4db1ac2a..639528d6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,5 +26,6 @@ install: script: - if [ "$LINTER_RUN" = "run" ]; then php vendor/bin/php-cs-fixer fix --verbose --dry-run ; fi; + - if [ "$LINTER_RUN" = "run" ]; then composer require phpstan/phpstan --no-progress --no-suggest ; fi; - if [ "$LINTER_RUN" = "run" ]; then php vendor/bin/phpstan analyse src test tests --no-progress --level 3 ; fi; - php vendor/bin/phpunit $COVERAGE_FLAGS diff --git a/composer.json b/composer.json index f0e324f4..fba5ec64 100644 --- a/composer.json +++ b/composer.json @@ -21,8 +21,7 @@ }, "require-dev": { "phpunit/phpunit": "^5.7.27|^6", - "friendsofphp/php-cs-fixer": "^2.16.3", - "phpstan/phpstan": "^0.12.25" + "friendsofphp/php-cs-fixer": "^2.16.3" }, "autoload": { "psr-0": {