From e5eae5c025990a3fcd54e7c9f9a234bb23b49134 Mon Sep 17 00:00:00 2001 From: Sebastian Schreiber Date: Fri, 27 Sep 2024 14:35:39 +0200 Subject: [PATCH] TASK: Fix some minor issues (#227) --- .gitattributes | 17 ++++++++++------- ext_emconf.php | 2 +- phpstan-baseline.neon | 2 +- phpstan.neon | 4 ++-- 4 files changed, 14 insertions(+), 11 deletions(-) diff --git a/.gitattributes b/.gitattributes index b7771d0..5876584 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,9 +1,12 @@ /Build/ export-ignore /Tests/ export-ignore -/.gitattributes export-ignore -/.gitignore export-ignore -/.travis.yml export-ignore -/phpstan.neon export-ignore -/.coveralls.yml export-ignore -/.editorconfig export-ignore -/.php_cs.dist export-ignore +phpstan.neon export-ignore +ecs.php export-ignore +phpstan-baseline.neon export-ignore +rector.php export-ignore +.github export-ignore +.editorconfig export-ignore +.gitattributes export-ignore +.github export-ignore +.gitignore export-ignore +LICENSE export-ignore diff --git a/ext_emconf.php b/ext_emconf.php index 165e4f7..a23ef02 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -10,7 +10,7 @@ 'version' => '5.0.6', 'constraints' => [ 'depends' => [ - 'typo3' => '10.4.2-12.5.99', + 'typo3' => '10.4.2-12.4.99', ], 'conflicts' => [], 'suggests' => [], diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 20bb3f9..bda454a 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -26,7 +26,7 @@ parameters: path: Classes/Form/FormDataProvider/RichtextEncoreConfiguration.php - - message: "#^Strict comparison using \\!\\=\\= between '' and '1' will always evaluate to true\\.$#" + message: "#^Strict comparison using \\!\\=\\= between '1' and '' will always evaluate to true\\.$#" count: 1 path: Classes/Middleware/AssetsMiddleware.php diff --git a/phpstan.neon b/phpstan.neon index 6ee08a2..88360f9 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -8,8 +8,8 @@ parameters: - Tests inferPrivatePropertyTypeFromConstructor: true - checkMissingIterableValueType: false - checkGenericClassInNonGenericObjectType: false + ignoreErrors: + - identifier: missingType.iterableValue typo3: requestGetAttributeMapping: _links: array