diff --git a/composer.json b/composer.json index a63390c..644ae4c 100644 --- a/composer.json +++ b/composer.json @@ -43,7 +43,7 @@ "codestyle": "vendor/bin/php-cs-fixer fix --dry-run --verbose --show-progress=none", "codestyle-fix": "vendor/bin/php-cs-fixer fix", "codestyle-check": "vendor/bin/php-cs-fixer fix --dry-run --verbose --using-cache=no --show-progress=none --format=checkstyle", - "phpstan": "vendor/bin/phpstan analyse . --configuration=phpstan.neon --level=9", + "phpstan": "vendor/bin/phpstan analyse . --configuration=phpstan.neon", "linting": [ "composer validate --strict --no-check-version", "@codestyle-check", diff --git a/phpstan.neon b/phpstan.neon index 05226fb..4f90f00 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -3,9 +3,8 @@ includes: - %rootDir%/../phpstan-symfony/rules.neon parameters: + level: 9 excludePaths: - - vendor/ + - vendor/(?) treatPhpDocTypesAsCertain: false inferPrivatePropertyTypeFromConstructor: true - checkMissingIterableValueType: false - checkGenericClassInNonGenericObjectType: false