Skip to content

Commit 8ca9c9a

Browse files
committed
run PhpUnitBridge tests with PHPUnit 11.5
1 parent 7954e56 commit 8ca9c9a

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

Tests/DeprecationErrorHandler/ConfigurationTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
use Symfony\Bridge\PhpUnit\DeprecationErrorHandler\DeprecationGroup;
1818
use Symfony\Component\ErrorHandler\DebugClassLoader;
1919

20+
/**
21+
* @requires PHPUnit < 10
22+
*/
2023
class ConfigurationTest extends TestCase
2124
{
2225
private $files;
@@ -463,9 +466,6 @@ public function testExistingBaselineAndGeneration()
463466
$this->assertEquals(json_encode($expected, \JSON_PRETTY_PRINT | \JSON_UNESCAPED_SLASHES), file_get_contents($filename));
464467
}
465468

466-
/**
467-
* @requires PHPUnit < 10
468-
*/
469469
public function testBaselineGenerationWithDeprecationTriggeredByDebugClassLoader()
470470
{
471471
$filename = $this->createFile();

Tests/DeprecationErrorHandler/DeprecationGroupTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
use PHPUnit\Framework\TestCase;
66
use Symfony\Bridge\PhpUnit\DeprecationErrorHandler\DeprecationGroup;
77

8+
/**
9+
* @requires PHPUnit < 10
10+
*/
811
final class DeprecationGroupTest extends TestCase
912
{
1013
public function testItGroupsByMessage()

Tests/DeprecationErrorHandler/DeprecationNoticeTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
use PHPUnit\Framework\TestCase;
66
use Symfony\Bridge\PhpUnit\DeprecationErrorHandler\DeprecationNotice;
77

8+
/**
9+
* @requires PHPUnit < 10
10+
*/
811
final class DeprecationNoticeTest extends TestCase
912
{
1013
public function testItGroupsByCaller()

Tests/DeprecationErrorHandler/DeprecationTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
use Symfony\Bridge\PhpUnit\DeprecationErrorHandler\Deprecation;
1717
use Symfony\Bridge\PhpUnit\Legacy\SymfonyTestsListenerForV7;
1818

19+
/**
20+
* @requires PHPUnit < 10
21+
*/
1922
class DeprecationTest extends TestCase
2023
{
2124
private static $vendorDir;

0 commit comments

Comments
 (0)