Skip to content

Commit 27ef10f

Browse files
minor #61646 [PhpUnitBridge] run tests with PHPUnit 11.5 (xabbuh)
This PR was merged into the 7.3 branch. Discussion ---------- [PhpUnitBridge] run tests with PHPUnit 11.5 | Q | A | ------------- | --- | Branch? | 7.3 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT Commits ------- 1c12798 run PhpUnitBridge tests with PHPUnit 11.5
2 parents 806224e + 1c12798 commit 27ef10f

File tree

5 files changed

+13
-4
lines changed

5 files changed

+13
-4
lines changed

.github/workflows/unit-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,5 +256,5 @@ jobs:
256256
run: |
257257
./phpunit src/Symfony/Bridge/PhpUnit
258258
env:
259-
SYMFONY_PHPUNIT_VERSION: '11.3'
259+
SYMFONY_PHPUNIT_VERSION: '11.5'
260260
SYMFONY_DEPRECATIONS_HELPER: 'disabled'

src/Symfony/Bridge/PhpUnit/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();

src/Symfony/Bridge/PhpUnit/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()

src/Symfony/Bridge/PhpUnit/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()

src/Symfony/Bridge/PhpUnit/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)