From b1b405926fbc483dc1a4e4af6c4602d058736d4f Mon Sep 17 00:00:00 2001 From: SmetDenis Date: Sat, 27 Sep 2025 22:33:17 +0400 Subject: [PATCH] chore(phpstan): Configure PHPStan level and ignore errors - Set analysis level to 9. - Ignore specific errors for missing iterable value types, PHPDoc parsing, and strict array_filter usage. - This adjustment helps manage current strictness while allowing for future improvements. --- src/phpstan.neon | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/phpstan.neon b/src/phpstan.neon index fcfc036..1d3ab2a 100644 --- a/src/phpstan.neon +++ b/src/phpstan.neon @@ -14,8 +14,11 @@ includes: - ../../../../vendor/phpstan/phpstan-strict-rules/rules.neon parameters: - level: max + level: 9 checkExplicitMixed: false - checkMissingIterableValueType: false - checkGenericClassInNonGenericObjectType: false reportUnmatchedIgnoredErrors: false + ignoreErrors: + - identifier: missingType.iterableValue + - identifier: phpDoc.parseError + - identifier: arrayFilter.strict + - identifier: arrayFilter.same