From faec13d270b5417c747c40323cff66c5513c37a1 Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Fri, 21 Jan 2022 11:45:00 +0000
Subject: [PATCH] Issue #3259744 by Spokje: PHPUnit 9.5.12 (released
 2022-01-21) throws unhandled deprecation notice on
 "Drupal\Tests\Listeners\DrupalListener"

(cherry picked from commit f5dc2cbd699a7cc0c1a9f81c94ee0b767fa2df88)
---
 core/tests/Drupal/Tests/Listeners/DeprecationListenerTrait.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/core/tests/Drupal/Tests/Listeners/DeprecationListenerTrait.php b/core/tests/Drupal/Tests/Listeners/DeprecationListenerTrait.php
index 65db0c6cb083..e8805f442c58 100644
--- a/core/tests/Drupal/Tests/Listeners/DeprecationListenerTrait.php
+++ b/core/tests/Drupal/Tests/Listeners/DeprecationListenerTrait.php
@@ -128,6 +128,7 @@ public static function getSkippedDeprecations() {
       "The \"PHPUnit\Framework\TestSuite\" class is considered internal This class is not covered by the backward compatibility promise for PHPUnit. It may change without further notice. You should not use it from \"Drupal\Tests\TestSuites\TestSuiteBase\".",
       // PHPUnit 9.
       "The \"PHPUnit\TextUI\DefaultResultPrinter\" class is considered internal This class is not covered by the backward compatibility promise for PHPUnit. It may change without further notice. You should not use it from \"Drupal\Tests\Listeners\HtmlOutputPrinter\".",
+      "The \"Drupal\Tests\Listeners\DrupalListener\" class implements \"PHPUnit\Framework\TestListener\" that is deprecated.",
     ];
   }
 
-- 
GitLab