Skip to content

Commit 0c9272c

Browse files
committed
do not use deprecated PHPUnit features
1 parent b44731c commit 0c9272c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/Dumper/ContextualizedDumperTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
namespace Symfony\Component\VarDumper\Tests\Dumper;
1313

14+
use PHPUnit\Framework\Attributes\BackupGlobals;
1415
use PHPUnit\Framework\TestCase;
1516
use Symfony\Component\VarDumper\Cloner\VarCloner;
1617
use Symfony\Component\VarDumper\Dumper\CliDumper;
@@ -19,9 +20,8 @@
1920

2021
/**
2122
* @author Kévin Thérage <[email protected]>
22-
*
23-
* @backupGlobals
2423
*/
24+
#[BackupGlobals(true)]
2525
class ContextualizedDumperTest extends TestCase
2626
{
2727
public function testContextualizedCliDumper()

0 commit comments

Comments
 (0)