Skip to content

Commit

Permalink
Bump PHPStan version
Browse files Browse the repository at this point in the history
  • Loading branch information
xificurk committed Jun 27, 2018
1 parent d3d153f commit 9a11152
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

install:
- travis_retry composer create-project --no-interaction jakub-onderka/php-parallel-lint /tmp/php-parallel-lint ^1.0
- travis_retry composer create-project --no-interaction xificurk/phpstan-shim /tmp/phpstan ^0.9
- travis_retry composer create-project --no-interaction xificurk/phpstan-shim /tmp/phpstan ^0.10
- travis_retry composer update --no-interaction --prefer-dist $COMPOSER_ARGS

script:
Expand Down
8 changes: 8 additions & 0 deletions tests/phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,16 @@ includes:
- phar://phpstan.phar/vendor/phpstan/phpstan-nette/extension.neon
- phar://phpstan.phar/vendor/phpstan/phpstan-nette/rules.neon
- phar://phpstan.phar/vendor/phpstan/phpstan-strict-rules/rules.neon
- phar://phpstan.phar/vendor/pepakriz/phpstan-exception-rules/extension.neon

parameters:
exceptionRules:
checkedExceptions:
- RuntimeException
ignoredExceptions:
- LogicException
- Nette\InvalidStateException

excludes_analyse:
- %currentWorkingDirectory%/tests/bootstrap.php
- %currentWorkingDirectory%/tests/temp/*

0 comments on commit 9a11152

Please sign in to comment.