Skip to content

Commit 804df4a

Browse files
committed
minor #541 Mark XML configuration tests as legacy (GromNaN)
This PR was squashed before being merged into the 3.x branch. Discussion ---------- Mark XML configuration tests as legacy | Q | A | ------------- | --- | Branch? | 3.x | Bug fix? | no (test only) | New feature? | no | Deprecations? | no (deprecated by Symfony itself) | Issues | Related to symfony/symfony#60568 | License | MIT Hide deprecation notices on Symfony 7.4 without asserting the deprecation message: ``` 13x: Since symfony/dependency-injection 7.4: XML configuration format is deprecated, use YAML or PHP instead. 1x in XmlMonologExtensionTest::testLoadWithSeveralHandlers from Symfony\Bundle\MonologBundle\Tests\DependencyInjection 1x in XmlMonologExtensionTest::testLoadWithOverwriting from Symfony\Bundle\MonologBundle\Tests\DependencyInjection 1x in XmlMonologExtensionTest::testLoadWithNewAtEnd from Symfony\Bundle\MonologBundle\Tests\DependencyInjection 1x in XmlMonologExtensionTest::testLoadWithNewAndPriority from Symfony\Bundle\MonologBundle\Tests\DependencyInjection 1x in XmlMonologExtensionTest::testHandlersWithChannels from Symfony\Bundle\MonologBundle\Tests\DependencyInjection ... Remaining indirect deprecation notices (3) 3x: Since symfony/dependency-injection 7.4: XML configuration format is deprecated, use YAML or PHP instead. 1x in XmlMonologExtensionTest::testLoadWithOverwriting from Symfony\Bundle\MonologBundle\Tests\DependencyInjection 1x in XmlMonologExtensionTest::testLoadWithNewAtEnd from Symfony\Bundle\MonologBundle\Tests\DependencyInjection 1x in XmlMonologExtensionTest::testLoadWithNewAndPriority from Symfony\Bundle\MonologBundle\Tests\DependencyInjection ``` Commits ------- 78b5730 Mark XML configuration tests as legacy
2 parents 6c655fb + 78b5730 commit 804df4a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/DependencyInjection/XmlMonologExtensionTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616
use Symfony\Component\DependencyInjection\Definition;
1717
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
1818

19+
/**
20+
* XML configuration deprecated since Symfony 7.4.
21+
*
22+
* @group legacy
23+
*/
1924
class XmlMonologExtensionTest extends FixtureMonologExtensionTestCase
2025
{
2126
protected function loadFixture(ContainerBuilder $container, $fixture)

0 commit comments

Comments
 (0)