From 67931e238f58aedcb67c8a3eed4fcf8e3dfad34b Mon Sep 17 00:00:00 2001 From: Alex Skrypnyk Date: Thu, 17 Oct 2024 07:48:16 +1100 Subject: [PATCH] Upgraded to `mglaman/phpstan-drupal:^1.3` and updated PHPStan config. --- composer.json | 2 +- phpstan.neon | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/composer.json b/composer.json index e5f275c90..11cde76b0 100644 --- a/composer.json +++ b/composer.json @@ -36,7 +36,7 @@ "drupal/core-dev": "~10.3.2", "drupal/drupal-extension": "^5", "ergebnis/composer-normalize": "^2.43", - "mglaman/phpstan-drupal": "^1.2", + "mglaman/phpstan-drupal": "^1.3", "palantirnet/drupal-rector": "^0.20", "phpcompatibility/php-compatibility": "^9.3", "phpmd/phpmd": "^2.15", diff --git a/phpstan.neon b/phpstan.neon index 1272b9fa8..dc8f52331 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -26,9 +26,6 @@ parameters: - ../*/vendor/* - ../*/node_modules/* - drupal: - drupal_root: web - ignoreErrors: - # Since tests and data providers do not have to have parameter docblocks,