From 982dac76ae7ffcb612edbd67f85551f71832e13f Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Wed, 26 Jun 2024 14:16:52 +0200 Subject: [PATCH] Migrate deprecated PHPStan configuration options --- Documentation/Changelog/4.0.1.rst | 2 ++ phpstan.neon | 18 +++++++++++------- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/Documentation/Changelog/4.0.1.rst b/Documentation/Changelog/4.0.1.rst index 082fc3e..6950790 100644 --- a/Documentation/Changelog/4.0.1.rst +++ b/Documentation/Changelog/4.0.1.rst @@ -17,6 +17,8 @@ Fixes * Add missing dependency to composer package `typo3/cms-install`. As UpgradeWizards use API of the package. +* Migrate deprecated PHPStan configuration options. + Tasks ----- diff --git a/phpstan.neon b/phpstan.neon index b0c6ded..24dec12 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,10 +1,14 @@ includes: - phpstan-baseline.neon parameters: - level: max - paths: - - Classes - - Configuration - checkMissingIterableValueType: false - checkGenericClassInNonGenericObjectType: false - reportUnmatchedIgnoredErrors: true + level: max + paths: + - Classes + - Configuration + reportUnmatchedIgnoredErrors: true + + ignoreErrors: + - + identifier: missingType.generics + - + identifier: missingType.iterableValue