From eb39373a8ad1e7925134c2c4bc4558a457c74668 Mon Sep 17 00:00:00 2001 From: Dave Long <dave@longwaveconsulting.com> Date: Mon, 22 May 2023 22:39:56 +0100 Subject: [PATCH] Issue #3361148 by Spokje: Update mglaman/phpstan-drupal and make daily "updated deps" QA jobs pass --- composer.json | 2 +- composer.lock | 14 +++++++------- .../Metapackage/DevDependencies/composer.json | 2 +- .../PinnedDevDependencies/composer.json | 2 +- core/phpstan-baseline.neon | 15 --------------- 5 files changed, 10 insertions(+), 25 deletions(-) diff --git a/composer.json b/composer.json index 25aa74dfea4d..a64233f27ef0 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "drupal/coder": "^8.3.10", "instaclick/php-webdriver": "^1.4.1", "justinrainbow/json-schema": "^5.2", - "mglaman/phpstan-drupal": "^1.1.32", + "mglaman/phpstan-drupal": "^1.1.33", "mikey179/vfsstream": "^1.6.11", "phpspec/prophecy-phpunit": "^2", "phpstan/extension-installer": "^1.1", diff --git a/composer.lock b/composer.lock index efd513fc964a..287e254bb3db 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "a19169fd630e0d8db4af4a1948829f8d", + "content-hash": "e4d4d8e10e78088fb06171c7df50acbe", "packages": [ { "name": "asm89/stack-cors", @@ -5382,16 +5382,16 @@ }, { "name": "mglaman/phpstan-drupal", - "version": "1.1.32", + "version": "1.1.33", "source": { "type": "git", "url": "https://github.com/mglaman/phpstan-drupal.git", - "reference": "d8a70aca702df6fcb95a50afffbe3c0ea407ad93" + "reference": "42d594e70ea0e6b75662d35f302814558e05ac2e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mglaman/phpstan-drupal/zipball/d8a70aca702df6fcb95a50afffbe3c0ea407ad93", - "reference": "d8a70aca702df6fcb95a50afffbe3c0ea407ad93", + "url": "https://api.github.com/repos/mglaman/phpstan-drupal/zipball/42d594e70ea0e6b75662d35f302814558e05ac2e", + "reference": "42d594e70ea0e6b75662d35f302814558e05ac2e", "shasum": "" }, "require": { @@ -5466,7 +5466,7 @@ "description": "Drupal extension and rules for PHPStan", "support": { "issues": "https://github.com/mglaman/phpstan-drupal/issues", - "source": "https://github.com/mglaman/phpstan-drupal/tree/1.1.32" + "source": "https://github.com/mglaman/phpstan-drupal/tree/1.1.33" }, "funding": [ { @@ -5482,7 +5482,7 @@ "type": "tidelift" } ], - "time": "2023-05-10T20:44:42+00:00" + "time": "2023-05-17T21:43:58+00:00" }, { "name": "mikey179/vfsstream", diff --git a/composer/Metapackage/DevDependencies/composer.json b/composer/Metapackage/DevDependencies/composer.json index abfd02205bd1..ea7c89edf781 100644 --- a/composer/Metapackage/DevDependencies/composer.json +++ b/composer/Metapackage/DevDependencies/composer.json @@ -15,7 +15,7 @@ "drupal/coder": "^8.3.10", "instaclick/php-webdriver": "^1.4.1", "justinrainbow/json-schema": "^5.2", - "mglaman/phpstan-drupal": "^1.1.32", + "mglaman/phpstan-drupal": "^1.1.33", "mikey179/vfsstream": "^1.6.11", "phpspec/prophecy-phpunit": "^2", "phpstan/extension-installer": "^1.1", diff --git a/composer/Metapackage/PinnedDevDependencies/composer.json b/composer/Metapackage/PinnedDevDependencies/composer.json index 0c9432dcf35c..688ac9197860 100644 --- a/composer/Metapackage/PinnedDevDependencies/composer.json +++ b/composer/Metapackage/PinnedDevDependencies/composer.json @@ -24,7 +24,7 @@ "drupal/coder": "8.3.18", "instaclick/php-webdriver": "1.4.16", "justinrainbow/json-schema": "5.2.12", - "mglaman/phpstan-drupal": "1.1.32", + "mglaman/phpstan-drupal": "1.1.33", "mikey179/vfsstream": "v1.6.11", "myclabs/deep-copy": "1.11.1", "nikic/php-parser": "v4.15.4", diff --git a/core/phpstan-baseline.neon b/core/phpstan-baseline.neon index 7a55ef298369..cda4d2f0ebb6 100644 --- a/core/phpstan-baseline.neon +++ b/core/phpstan-baseline.neon @@ -2745,21 +2745,6 @@ parameters: count: 2 path: tests/Drupal/KernelTests/Core/Database/DriverSpecificKernelTestBase.php - - - message: "#^\\#date_date_callbacks callback array\\{\\$this\\(Drupal\\\\KernelTests\\\\Core\\\\Datetime\\\\DatelistElementFormTest\\), string\\} at key '0' is not callable\\.$#" - count: 1 - path: tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php - - - - message: "#^\\#date_date_callbacks callback array\\{\\$this\\(Drupal\\\\KernelTests\\\\Core\\\\Datetime\\\\DatetimeElementFormTest\\), string\\} at key '0' is not callable\\.$#" - count: 1 - path: tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php - - - - message: "#^\\#date_time_callbacks callback array\\{\\$this\\(Drupal\\\\KernelTests\\\\Core\\\\Datetime\\\\DatetimeElementFormTest\\), string\\} at key '0' is not callable\\.$#" - count: 1 - path: tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php - - message: "#^Missing call to parent\\:\\:setUp\\(\\) method\\.$#" count: 1 -- GitLab