From 41e700fee536b2bdce2de9fc1673c2830de75e06 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20B=C3=BCrk?= <stefan@buerk.tech>
Date: Sat, 1 Oct 2022 13:28:21 +0200
Subject: [PATCH] [TASK] Enable one TransportFactory unit test execution for
 PHP8.1

Symfony released new versions, which includes a bugfix in
"symfony/mailer", which allows us to reactivate a unit test
for PHP8.1 (#98216), see also issue:
https://github.com/symfony/symfony/issues/47402

Resolves: #98493
Related: #98216
Releases: main, 11.5
Change-Id: Ie71aa65f150fca9a9587fbcd10edba6f9d130367
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75931
Tested-by: core-ci <typo3@b13.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
---
 typo3/sysext/core/Tests/Unit/Mail/TransportFactoryTest.php | 2 --
 1 file changed, 2 deletions(-)

diff --git a/typo3/sysext/core/Tests/Unit/Mail/TransportFactoryTest.php b/typo3/sysext/core/Tests/Unit/Mail/TransportFactoryTest.php
index 72d8fc43e3c8..c8950b80c733 100644
--- a/typo3/sysext/core/Tests/Unit/Mail/TransportFactoryTest.php
+++ b/typo3/sysext/core/Tests/Unit/Mail/TransportFactoryTest.php
@@ -293,8 +293,6 @@ class TransportFactoryTest extends UnitTestCase
 
     /**
      * @test
-     * @requires PHP < 8.1
-     * @todo Temporarly restrict to PHP version before 8.1, until symfony/mailer deprecation issue has been fixed.
      */
     public function sendmailTransportCallsDispatchOfDispatcher(): void
     {
-- 
GitLab