Skip to content

Commit

Permalink
Update phpstan config
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Jun 13, 2020
1 parent ef1539c commit 92551fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ script:

- if [[ $PHPCS = 1 ]]; then vendor/bin/phpcs -p --extensions=php --standard=vendor/cakephp/cakephp-codesniffer/CakePHP ./src ./tests/TestCase ./config; fi

- if [[ $STATIC_ANALYSIS = 1 ]]; then vendor/bin/phpstan.phar analyze src/ && vendor/bin/psalm.phar; fi
- if [[ $STATIC_ANALYSIS = 1 ]]; then vendor/bin/phpstan.phar analyze && vendor/bin/psalm.phar; fi

after_success:
- |
Expand Down
4 changes: 3 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
parameters:
level: 6
checkMissingIterableValueType: false
autoload_files:
bootstrapFiles:
- tests/bootstrap.php
paths:
- src

0 comments on commit 92551fa

Please sign in to comment.