Skip to content

Commit

Permalink
Merge pull request #141 from stefandoorn/phpstan-symfony
Browse files Browse the repository at this point in the history
Added phpstan-symfony & phpstan-webmozart-assert
  • Loading branch information
lsmith77 authored Jul 25, 2018
2 parents 177b996 + 909af92 commit 066688b
Show file tree
Hide file tree
Showing 12 changed files with 516 additions and 45 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ before_script:
- (cd tests/Application && bin/console doctrine:database:create --env=test -vvv)
- (cd tests/Application && bin/console doctrine:schema:create --env=test -vvv)
- (cd tests/Application && bin/console assets:install web --env=test -vvv)
- (cd tests/Application && bin/console cache:warmup --env=dev -vvv)
- (cd tests/Application && yarn run gulp)

# Configure display
Expand Down Expand Up @@ -65,10 +66,9 @@ before_script:

script:
- composer validate --strict
- bin/phpstan.phar analyse -c phpstan.neon -l max src/
- bin/phpstan analyse -c phpstan.neon -l max src/
- bin/ecs check src/ spec/ tests/Behat/

# - bin/phpunit
- bin/phpspec run
- bin/behat features/ --strict -vvv --no-interaction || bin/behat features/ --strict -vvv --no-interaction --rerun

Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"friends-of-behat/variadic-extension": "^1.0",
"lakion/mink-debug-extension": "^1.2.3",
"phpspec/phpspec": "^3.2",
"phpstan/phpstan-shim": "^0.9.2",
"phpstan/phpstan-symfony": "^0.10.0",
"phpstan/phpstan-webmozart-assert": "^0.10.0",
"phpunit/phpunit": "^5.6",
"portphp/csv": "^1.1.0",
"portphp/excel": "^1.1.0",
Expand Down
Loading

0 comments on commit 066688b

Please sign in to comment.