Skip to content

Commit

Permalink
Install the PHPStan Symfony extension to correctly analyse NodeDefini…
Browse files Browse the repository at this point in the history
…tion return types
  • Loading branch information
nicwortel committed Jul 5, 2022
1 parent d81f2db commit 2007b62
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"require-dev": {
"nicwortel/coding-standard": "^2.0",
"phpstan/phpstan": "^1.8",
"phpstan/phpstan-symfony": "^1.2",
"phpunit/phpunit": "^9.0",
"squizlabs/php_codesniffer": "^3.5",
"symfony/process": "^5.0"
Expand Down
3 changes: 3 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
includes:
- vendor/phpstan/phpstan-symfony/extension.neon

parameters:
level: max
paths:
Expand Down

0 comments on commit 2007b62

Please sign in to comment.