File tree Expand file tree Collapse file tree 2 files changed +10
-12
lines changed
Bundle/FrameworkBundle/Tests/CacheWarmer
Component/Validator/Tests/Mapping/Loader Expand file tree Collapse file tree 2 files changed +10
-12
lines changed Original file line number Diff line number Diff line change 1111
1212namespace Symfony \Bundle \FrameworkBundle \Tests \CacheWarmer ;
1313
14+ use PHPUnit \Framework \Attributes \Group ;
15+ use PHPUnit \Framework \Attributes \IgnoreDeprecations ;
1416use Symfony \Bundle \FrameworkBundle \CacheWarmer \ValidatorCacheWarmer ;
1517use Symfony \Bundle \FrameworkBundle \Tests \TestCase ;
1618use Symfony \Component \Cache \Adapter \NullAdapter ;
@@ -55,9 +57,8 @@ public function testYamlWarmUp()
5557 $ this ->assertTrue ($ arrayPool ->getItem ('Symfony.Bundle.FrameworkBundle.Tests.Fixtures.Validation.Author ' )->isHit ());
5658 }
5759
58- /**
59- * @group legacy
60- */
60+ #[IgnoreDeprecations]
61+ #[Group('legacy ' )]
6162 public function testXmlWarmUp ()
6263 {
6364 $ validatorBuilder = new ValidatorBuilder ();
@@ -97,9 +98,8 @@ public function testYamlWarmUpAbsoluteFilePath()
9798 $ this ->assertTrue ($ arrayPool ->getItem ('Symfony.Bundle.FrameworkBundle.Tests.Fixtures.Validation.Author ' )->isHit ());
9899 }
99100
100- /**
101- * @group legacy
102- */
101+ #[IgnoreDeprecations]
102+ #[Group('legacy ' )]
103103 public function testXmlWarmUpAbsoluteFilePath ()
104104 {
105105 $ validatorBuilder = new ValidatorBuilder ();
@@ -139,9 +139,8 @@ public function testYamlWarmUpWithoutBuilDir()
139139 $ this ->assertFalse ($ arrayPool ->getItem ('Symfony.Bundle.FrameworkBundle.Tests.Fixtures.Validation.Author ' )->isHit ());
140140 }
141141
142- /**
143- * @group legacy
144- */
142+ #[IgnoreDeprecations]
143+ #[Group('legacy ' )]
145144 public function testXmlWarmUpWithoutBuilDir ()
146145 {
147146 $ validatorBuilder = new ValidatorBuilder ();
Original file line number Diff line number Diff line change 3939use Symfony \Component \Validator \Tests \Mapping \Loader \Fixtures \ConstraintWithNamedArguments ;
4040use Symfony \Component \Validator \Tests \Mapping \Loader \Fixtures \ConstraintWithoutValueWithNamedArguments ;
4141
42- /**
43- * @group legacy
44- */
42+ #[IgnoreDeprecations]
43+ #[Group('legacy ' )]
4544class XmlFileLoaderTest extends TestCase
4645{
4746 public function testLoadClassMetadataReturnsTrueIfSuccessful ()
You can’t perform that action at this time.
0 commit comments