From 14b757e2f4eaa93d4b2c681af8c240a3643fdc69 Mon Sep 17 00:00:00 2001 From: Christian Kuhn Date: Wed, 25 Mar 2026 22:21:52 +0100 Subject: [PATCH] [TASK] Accept test deprecation With recent core main changes related to ext_emconf.php works, a single unit test needs a #[IgnoreDepreation] marker. --- Tests/Unit/Core/PackageCollectionTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tests/Unit/Core/PackageCollectionTest.php b/Tests/Unit/Core/PackageCollectionTest.php index 35521ecf..ac0728e1 100644 --- a/Tests/Unit/Core/PackageCollectionTest.php +++ b/Tests/Unit/Core/PackageCollectionTest.php @@ -23,6 +23,7 @@ namespace Typo3\TestingFramework\Tests\Unit\Core; +use PHPUnit\Framework\Attributes\IgnoreDeprecations; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; use TYPO3\CMS\Core\Package\PackageManager; @@ -33,6 +34,7 @@ final class PackageCollectionTest extends TestCase { #[Test] + #[IgnoreDeprecations] public function sortsComposerPackages(): void { $packageStates = require __DIR__ . '/../Fixtures/Packages/PackageStates.php';