From 1e955e9eef110d50c7f08aabb60da6ff3690d772 Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Wed, 3 Apr 2024 11:35:32 +0100
Subject: [PATCH] Issue #3437778 by Spokje, longwave: Bump phpstan/phpstan and
 mglaman/phpstan-drupal to latest

---
 composer.json                                 |  2 +-
 composer.lock                                 | 26 +++++++++----------
 .../Metapackage/DevDependencies/composer.json |  2 +-
 .../PinnedDevDependencies/composer.json       |  4 +--
 core/.phpstan-baseline.php                    | 12 ++++-----
 5 files changed, 23 insertions(+), 23 deletions(-)

diff --git a/composer.json b/composer.json
index 4d446acf9e24..576180de0c2a 100644
--- a/composer.json
+++ b/composer.json
@@ -23,7 +23,7 @@
         "justinrainbow/json-schema": "^5.2",
         "lullabot/mink-selenium2-driver": "^1.7",
         "lullabot/php-webdriver": "^2.0.3",
-        "mglaman/phpstan-drupal": "^1.2.1",
+        "mglaman/phpstan-drupal": "^1.2.10",
         "micheh/phpcs-gitlab": "^1.1",
         "mikey179/vfsstream": "^1.6.11",
         "open-telemetry/exporter-otlp": "^1",
diff --git a/composer.lock b/composer.lock
index de9ecb282eb9..c8f7f55c0f09 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": "47de865c46da1a0a556cf960c4dfc17f",
+    "content-hash": "4082cd47dd8678d0c1e32d15364fbcbe",
     "packages": [
         {
             "name": "asm89/stack-cors",
@@ -5634,16 +5634,16 @@
         },
         {
             "name": "mglaman/phpstan-drupal",
-            "version": "1.2.7",
+            "version": "1.2.10",
             "source": {
                 "type": "git",
                 "url": "https://github.com/mglaman/phpstan-drupal.git",
-                "reference": "32f79fcf48c74532014248687ae3850581a22416"
+                "reference": "cdafb3285beeb5fadf25a43e18fee6f80bb14575"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/mglaman/phpstan-drupal/zipball/32f79fcf48c74532014248687ae3850581a22416",
-                "reference": "32f79fcf48c74532014248687ae3850581a22416",
+                "url": "https://api.github.com/repos/mglaman/phpstan-drupal/zipball/cdafb3285beeb5fadf25a43e18fee6f80bb14575",
+                "reference": "cdafb3285beeb5fadf25a43e18fee6f80bb14575",
                 "shasum": ""
             },
             "require": {
@@ -5657,7 +5657,7 @@
             "require-dev": {
                 "behat/mink": "^1.8",
                 "composer/installers": "^1.9",
-                "drupal/core-recommended": "^9.0",
+                "drupal/core-recommended": "^10",
                 "drush/drush": "^10.0 || ^11 || ^12",
                 "phpstan/extension-installer": "^1.1",
                 "phpstan/phpstan-strict-rules": "^1.0",
@@ -5718,7 +5718,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.2.7"
+                "source": "https://github.com/mglaman/phpstan-drupal/tree/1.2.10"
             },
             "funding": [
                 {
@@ -5734,7 +5734,7 @@
                     "type": "tidelift"
                 }
             ],
-            "time": "2024-02-14T04:38:08+00:00"
+            "time": "2024-04-02T17:27:29+00:00"
         },
         {
             "name": "micheh/phpcs-gitlab",
@@ -7088,16 +7088,16 @@
         },
         {
             "name": "phpstan/phpstan",
-            "version": "1.10.62",
+            "version": "1.10.66",
             "source": {
                 "type": "git",
                 "url": "https://github.com/phpstan/phpstan.git",
-                "reference": "cd5c8a1660ed3540b211407c77abf4af193a6af9"
+                "reference": "94779c987e4ebd620025d9e5fdd23323903950bd"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/phpstan/phpstan/zipball/cd5c8a1660ed3540b211407c77abf4af193a6af9",
-                "reference": "cd5c8a1660ed3540b211407c77abf4af193a6af9",
+                "url": "https://api.github.com/repos/phpstan/phpstan/zipball/94779c987e4ebd620025d9e5fdd23323903950bd",
+                "reference": "94779c987e4ebd620025d9e5fdd23323903950bd",
                 "shasum": ""
             },
             "require": {
@@ -7146,7 +7146,7 @@
                     "type": "tidelift"
                 }
             ],
-            "time": "2024-03-13T12:27:20+00:00"
+            "time": "2024-03-28T16:17:31+00:00"
         },
         {
             "name": "phpstan/phpstan-deprecation-rules",
diff --git a/composer/Metapackage/DevDependencies/composer.json b/composer/Metapackage/DevDependencies/composer.json
index bf1b015c4a00..00595d42b7a7 100644
--- a/composer/Metapackage/DevDependencies/composer.json
+++ b/composer/Metapackage/DevDependencies/composer.json
@@ -15,7 +15,7 @@
         "justinrainbow/json-schema": "^5.2",
         "lullabot/mink-selenium2-driver": "^1.7",
         "lullabot/php-webdriver": "^2.0.3",
-        "mglaman/phpstan-drupal": "^1.2.1",
+        "mglaman/phpstan-drupal": "^1.2.10",
         "micheh/phpcs-gitlab": "^1.1",
         "mikey179/vfsstream": "^1.6.11",
         "open-telemetry/exporter-otlp": "^1",
diff --git a/composer/Metapackage/PinnedDevDependencies/composer.json b/composer/Metapackage/PinnedDevDependencies/composer.json
index e62f7fcafdd5..5041ff5dddb0 100644
--- a/composer/Metapackage/PinnedDevDependencies/composer.json
+++ b/composer/Metapackage/PinnedDevDependencies/composer.json
@@ -25,7 +25,7 @@
         "justinrainbow/json-schema": "v5.2.13",
         "lullabot/mink-selenium2-driver": "v1.7.2",
         "lullabot/php-webdriver": "v2.0.3",
-        "mglaman/phpstan-drupal": "1.2.7",
+        "mglaman/phpstan-drupal": "1.2.10",
         "micheh/phpcs-gitlab": "1.1.0",
         "mikey179/vfsstream": "v1.6.11",
         "myclabs/deep-copy": "1.11.1",
@@ -49,7 +49,7 @@
         "phpspec/prophecy-phpunit": "v2.1.0",
         "phpstan/extension-installer": "1.3.1",
         "phpstan/phpdoc-parser": "1.24.4",
-        "phpstan/phpstan": "1.10.62",
+        "phpstan/phpstan": "1.10.66",
         "phpstan/phpstan-deprecation-rules": "1.1.4",
         "phpstan/phpstan-phpunit": "1.3.16",
         "phpunit/php-code-coverage": "9.2.29",
diff --git a/core/.phpstan-baseline.php b/core/.phpstan-baseline.php
index f93495130bf8..3cd04440e847 100644
--- a/core/.phpstan-baseline.php
+++ b/core/.phpstan-baseline.php
@@ -1359,14 +1359,14 @@
 	'path' => __DIR__ . '/modules/migrate/src/Plugin/migrate/destination/NullDestination.php',
 ];
 $ignoreErrors[] = [
-  'message' => '#^@dataProvider providerSource related method not found\\.$#',
-  'count' => 1,
-  'path' => __DIR__ . '/modules/migrate/tests/src/Kernel/MigrateSourceTestBase.php',
+	'message' => '#^@dataProvider providerSource related method not found\\.$#',
+	'count' => 1,
+	'path' => __DIR__ . '/modules/migrate/tests/src/Kernel/MigrateSourceTestBase.php',
 ];
 $ignoreErrors[] = [
-  'message' => '#^@dataProvider providerSource related method not found\\.$#',
-  'count' => 1,
-  'path' => __DIR__ . '/modules/migrate/tests/src/Kernel/MigrateSqlSourceTestBase.php',
+	'message' => '#^@dataProvider providerSource related method not found\\.$#',
+	'count' => 1,
+	'path' => __DIR__ . '/modules/migrate/tests/src/Kernel/MigrateSqlSourceTestBase.php',
 ];
 $ignoreErrors[] = [
 	'message' => '#^Call to an undefined static method Drupal\\\\Tests\\\\migrate\\\\Kernel\\\\MigrateTestBase\\:\\:migrateDumpAlter\\(\\)\\.$#',
-- 
GitLab