Skip to content

Commit

Permalink
Upgrade to PHPStan 0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Majkl578 committed Mar 5, 2018
1 parent 724e1e7 commit 625df93
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

- stage: Static Analysis
php: 7.1
install: composer require "phpstan/phpstan:^0.8" --dev
install: composer require "phpstan/phpstan:^0.9.2" --dev
script:
- ./vendor/bin/phpstan analyse -c phpstan.neon -l max src
- ./vendor/bin/phpstan analyse -c phpstan.tests.neon -l max tests
Expand Down
3 changes: 3 additions & 0 deletions phpstan.tests.neon
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
parameters:
ignoreErrors:
- '#::__construct\(\) does not call parent constructor from#'

# dynamic properties consufe static analysis
- '#Access to an undefined property object::\$foo\.#'

0 comments on commit 625df93

Please sign in to comment.