You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the past, we needed the legacy group with PHPUnit < 10 to indicate that a
test was expected to trigger deprecations. With our update to PHPUnit 12 this
is no longer necessary. We now use the group only to skip these tests when
running high deps tests with different major versions. The tests from which
the legacy group is dropped do not handle deprecated Symfony features but
deal with features that users can use to trigger deprecations leveraging our
components. They don't have to be skipped in cross-version test runs.
@@ -338,7 +337,6 @@ public function testIndirectCircularReferenceShouldThrowAnException()
338
337
}
339
338
340
339
#[IgnoreDeprecations]
341
-
#[Group('legacy')]
342
340
publicfunctiontestDeprecatedAlias()
343
341
{
344
342
$this->expectUserDeprecationMessage('Since foo/bar 1.0.0: The "b" route alias is deprecated. You should stop using it, as it will be removed in the future.');
@@ -355,7 +353,6 @@ public function testDeprecatedAlias()
Copy file name to clipboardExpand all lines: Tests/Generator/UrlGeneratorTest.php
-3Lines changed: 0 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -803,7 +803,6 @@ public function testAliasWhichTargetRouteDoesntExist()
803
803
}
804
804
805
805
#[IgnoreDeprecations]
806
-
#[Group('legacy')]
807
806
publicfunctiontestDeprecatedAlias()
808
807
{
809
808
$this->expectUserDeprecationMessage('Since foo/bar 1.0.0: The "b" route alias is deprecated. You should stop using it, as it will be removed in the future.');
@@ -817,7 +816,6 @@ public function testDeprecatedAlias()
0 commit comments