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 11
11
12
12
namespace Symfony \Bundle \FrameworkBundle \Tests \CacheWarmer ;
13
13
14
+ use PHPUnit \Framework \Attributes \Group ;
15
+ use PHPUnit \Framework \Attributes \IgnoreDeprecations ;
14
16
use Symfony \Bundle \FrameworkBundle \CacheWarmer \ValidatorCacheWarmer ;
15
17
use Symfony \Bundle \FrameworkBundle \Tests \TestCase ;
16
18
use Symfony \Component \Cache \Adapter \NullAdapter ;
@@ -55,9 +57,8 @@ public function testYamlWarmUp()
55
57
$ this ->assertTrue ($ arrayPool ->getItem ('Symfony.Bundle.FrameworkBundle.Tests.Fixtures.Validation.Author ' )->isHit ());
56
58
}
57
59
58
- /**
59
- * @group legacy
60
- */
60
+ #[IgnoreDeprecations]
61
+ #[Group('legacy ' )]
61
62
public function testXmlWarmUp ()
62
63
{
63
64
$ validatorBuilder = new ValidatorBuilder ();
@@ -97,9 +98,8 @@ public function testYamlWarmUpAbsoluteFilePath()
97
98
$ this ->assertTrue ($ arrayPool ->getItem ('Symfony.Bundle.FrameworkBundle.Tests.Fixtures.Validation.Author ' )->isHit ());
98
99
}
99
100
100
- /**
101
- * @group legacy
102
- */
101
+ #[IgnoreDeprecations]
102
+ #[Group('legacy ' )]
103
103
public function testXmlWarmUpAbsoluteFilePath ()
104
104
{
105
105
$ validatorBuilder = new ValidatorBuilder ();
@@ -139,9 +139,8 @@ public function testYamlWarmUpWithoutBuilDir()
139
139
$ this ->assertFalse ($ arrayPool ->getItem ('Symfony.Bundle.FrameworkBundle.Tests.Fixtures.Validation.Author ' )->isHit ());
140
140
}
141
141
142
- /**
143
- * @group legacy
144
- */
142
+ #[IgnoreDeprecations]
143
+ #[Group('legacy ' )]
145
144
public function testXmlWarmUpWithoutBuilDir ()
146
145
{
147
146
$ validatorBuilder = new ValidatorBuilder ();
Original file line number Diff line number Diff line change 39
39
use Symfony \Component \Validator \Tests \Mapping \Loader \Fixtures \ConstraintWithNamedArguments ;
40
40
use Symfony \Component \Validator \Tests \Mapping \Loader \Fixtures \ConstraintWithoutValueWithNamedArguments ;
41
41
42
- /**
43
- * @group legacy
44
- */
42
+ #[IgnoreDeprecations]
43
+ #[Group('legacy ' )]
45
44
class XmlFileLoaderTest extends TestCase
46
45
{
47
46
public function testLoadClassMetadataReturnsTrueIfSuccessful ()
You can’t perform that action at this time.
0 commit comments