From 5253862d0d5b29611291a655104b795a73dd0261 Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Thu, 30 Jun 2022 17:57:56 +0100
Subject: [PATCH] Issue #3264145 by ankithashetty, yogeshmpawar, ravi.shankar,
 mrinalini9, neclimdul, mondrake, longwave, daffie: Fixing missing use
 statement in ConfigOverrider test class

---
 .../tests/config_override_test/src/ConfigOverrider.php       | 1 +
 core/phpstan-baseline.neon                                   | 5 -----
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/core/modules/config/tests/config_override_test/src/ConfigOverrider.php b/core/modules/config/tests/config_override_test/src/ConfigOverrider.php
index c8ffc694b3f2..8ec572e3aeb5 100644
--- a/core/modules/config/tests/config_override_test/src/ConfigOverrider.php
+++ b/core/modules/config/tests/config_override_test/src/ConfigOverrider.php
@@ -4,6 +4,7 @@
 
 use Drupal\Core\Cache\CacheableMetadata;
 use Drupal\Core\Config\ConfigFactoryOverrideInterface;
+use Drupal\Core\Config\StorageInterface;
 
 /**
  * Tests module overrides for configuration.
diff --git a/core/phpstan-baseline.neon b/core/phpstan-baseline.neon
index c7be823acbaf..a56ad352ebca 100644
--- a/core/phpstan-baseline.neon
+++ b/core/phpstan-baseline.neon
@@ -840,11 +840,6 @@ parameters:
 			count: 1
 			path: modules/comment/tests/src/Functional/Views/DefaultViewRecentCommentsTest.php
 
-		-
-			message: "#^Access to constant DEFAULT_COLLECTION on an unknown class Drupal\\\\config_override_test\\\\StorageInterface\\.$#"
-			count: 1
-			path: modules/config/tests/config_override_test/src/ConfigOverrider.php
-
 		-
 			message: "#^Method Drupal\\\\config_test\\\\ConfigTestForm\\:\\:save\\(\\) should return int but return statement is missing\\.$#"
 			count: 1
-- 
GitLab