diff --git a/composer.json b/composer.json index 274db88..ca4b165 100644 --- a/composer.json +++ b/composer.json @@ -28,7 +28,7 @@ }, "require-dev": { "squizlabs/php_codesniffer": "^3.5", - "phpstan/phpstan": "^0.12.81", + "phpstan/phpstan": "^1.11", "composer/composer": "^2.0" } } diff --git a/phpstan.neon b/phpstan.neon index bcb8b11..a64d774 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,7 +1,7 @@ parameters: - level: 2 + level: 5 paths: - src - excludes_analyse: - - vendor + excludePaths: + - vendor/*