diff --git a/composer.json b/composer.json index 2a0f1a493..f1ea303fd 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,7 @@ "codeception/phpunit-wrapper": "^9", "codeception/module-asserts": "^2", "codeception/module-symfony": "^3.1.1", - "phpstan/phpstan": "^1.10.5", + "phpstan/phpstan": "1.10.5", "phpstan/phpstan-symfony": "^1.2.20", "phpunit/phpunit": "10.2.7", "nyholm/psr7": "^1", diff --git a/phpstan.neon b/phpstan.neon index 26b77cd03..afac18f46 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,6 +1,8 @@ parameters: - level: 5 + level: 6 reportUnmatchedIgnoredErrors: false + checkMissingIterableValueType: false + checkGenericClassInNonGenericObjectType: false paths: - src bootstrapFiles: @@ -9,4 +11,5 @@ parameters: - src/Tests/* includes: + - vendor/phpstan/phpstan-symfony/extension.neon - phpstan-baseline.neon \ No newline at end of file