From 132d6e4ed24720781dcfd9e5a38e547c0e5327d5 Mon Sep 17 00:00:00 2001 From: dpi Date: Tue, 4 Jun 2024 16:32:51 +0800 Subject: [PATCH 1/2] Empty From f63093d23fd690ff8cfd4edbd256643e2aeaaf0b Mon Sep 17 00:00:00 2001 From: dpi Date: Tue, 4 Jun 2024 18:09:09 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=90=9B=20Fix=20bugs=20introduced=20by?= =?UTF-8?q?=20`drupal/coder`=208.3.24?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PreviousNextDrupal/ruleset.xml | 12 ++++++++++++ composer.json | 2 +- phpstan.neon | 4 +++- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/PreviousNextDrupal/ruleset.xml b/PreviousNextDrupal/ruleset.xml index 008f68e..3737c25 100644 --- a/PreviousNextDrupal/ruleset.xml +++ b/PreviousNextDrupal/ruleset.xml @@ -62,6 +62,14 @@ + + + 5 + + 0 @@ -77,4 +85,8 @@ 0 0 + + + + 0 diff --git a/composer.json b/composer.json index a69b778..60f20c4 100644 --- a/composer.json +++ b/composer.json @@ -6,7 +6,7 @@ "require": { "php": "^8.0", "dealerdirect/phpcodesniffer-composer-installer": "^1.0.0", - "drupal/coder": "^8.3.21", + "drupal/coder": "^8.3.24", "slevomat/coding-standard": "^8.13.2", "squizlabs/php_codesniffer": "^3.7.1" }, diff --git a/phpstan.neon b/phpstan.neon index dc3e8be..3ba1fd3 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -7,4 +7,6 @@ parameters: - %currentWorkingDirectory%/vendor/squizlabs/php_codesniffer/autoload.php excludePaths: - %currentWorkingDirectory%/tests/*/fixtures/* - checkGenericClassInNonGenericObjectType: false + ignoreErrors: + - + identifier: missingType.generics