From 918246bb5c275ce0841beaf82c780ece610a250d Mon Sep 17 00:00:00 2001 From: Kevin Papst Date: Fri, 27 Sep 2024 22:46:42 +0200 Subject: [PATCH] phpstan --- composer.json | 2 +- phpstan.neon | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index b992916..025e2f6 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 . -c 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