Skip to content

Commit

Permalink
Merge pull request #61 from carusogabriel/improvement/phpstan-12
Browse files Browse the repository at this point in the history
Update to PHPStan 0.12
  • Loading branch information
WyriHaximus authored May 25, 2020
2 parents aef1564 + 491a01e commit 8bd28a6
Show file tree
Hide file tree
Showing 3 changed files with 131 additions and 90 deletions.
9 changes: 5 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@
},
"require-dev": {
"doctrine/coding-standard": "^5.0",
"phpstan/phpstan": "^0.11.5",
"phpstan/phpstan-deprecation-rules": "^0.11.0",
"phpstan/phpstan-phpunit": "^0.11.0",
"phpstan/phpstan-strict-rules": "^0.11.0",
"phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "^0.12.25",
"phpstan/phpstan-deprecation-rules": "^0.12.3",
"phpstan/phpstan-phpunit": "^0.12.8",
"phpstan/phpstan-strict-rules": "^0.12.2",
"phpunit/phpunit": "^7.0"
},
"autoload": {
Expand Down
205 changes: 125 additions & 80 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 1 addition & 6 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
parameters:
level: 7
level: 8
paths:
- %currentWorkingDirectory%/src
- %currentWorkingDirectory%/tests

includes:
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-strict-rules/rules.neon

0 comments on commit 8bd28a6

Please sign in to comment.