Skip to content

Commit

Permalink
CI: PhpStan
Browse files Browse the repository at this point in the history
  • Loading branch information
josefbenjac committed Jan 18, 2018
1 parent 9ed2782 commit e8a8f22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 0 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ php:
- 7.1
- 7.2

before_install:
# turn off XDebug
#- phpenv config-rm xdebug.ini || return 0

install:
# Composer
- travis_retry composer install --no-progress --prefer-dist
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@
"linter src tests",
"codesniffer src tests"
],
"qa-install-phpstan": [
"mkdir -p temp/phpstan",
"composer require -d temp/phpstan phpstan/phpstan"
],
"phpstan": [
"temp/phpstan/vendor/bin/phpstan analyse -l 7 src"
],
"phpstan-install": [
"mkdir -p temp/phpstan",
"composer require -d temp/phpstan phpstan/phpstan"
],
"phpunit": [
"phpunit tests --colors=always"
],
Expand Down

0 comments on commit e8a8f22

Please sign in to comment.