Skip to content

Commit 53a79f8

Browse files
author
Wouter Wolters
committed
[TASK] Allow PHPunit 12
1 parent e9c3bc4 commit 53a79f8

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Tests/Unit/Core/PackageCollectionTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
namespace Typo3\TestingFramework\Tests\Unit\Core;
2525

26+
use PHPUnit\Framework\Attributes\Test;
2627
use PHPUnit\Framework\TestCase;
2728
use TYPO3\CMS\Core\Package\PackageManager;
2829
use TYPO3\CMS\Core\Service\DependencyOrderingService;
@@ -31,9 +32,8 @@
3132

3233
final class PackageCollectionTest extends TestCase
3334
{
34-
/**
35-
* @test
36-
*/
35+
36+
#[Test]
3737
public function sortsComposerPackages(): void
3838
{
3939
$packageStates = require __DIR__ . '/../Fixtures/Packages/PackageStates.php';

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"php": "^8.2",
2929
"composer/class-map-generator": "^1.3.4",
3030
"guzzlehttp/psr7": "^2.5.0",
31-
"phpunit/phpunit": "^11.2.5",
31+
"phpunit/phpunit": "^11.2.5|^12",
3232
"psr/container": "^2.0",
3333
"typo3/cms-backend": "13.*.*@dev || 14.*.*@dev",
3434
"typo3/cms-core": "13.*.*@dev || 14.*.*@dev",

0 commit comments

Comments
 (0)