Skip to content

Commit f8b54af

Browse files
committed
Skip XML configuration test with Symfony 8
1 parent 80f2ee9 commit f8b54af

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/DependencyInjection/XmlDoctrineExtensionTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,14 @@
55
namespace Doctrine\Bundle\DoctrineBundle\Tests\DependencyInjection;
66

77
use PHPUnit\Framework\Attributes\IgnoreDeprecations;
8+
use PHPUnit\Framework\Attributes\RequiresMethod;
89
use Symfony\Component\Config\FileLocator;
910
use Symfony\Component\DependencyInjection\ContainerBuilder;
1011
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
12+
use Symfony\Component\Validator\Mapping\Loader\XmlFileLoader as LoaderXmlFileLoader;
1113

1214
#[IgnoreDeprecations]
15+
#[RequiresMethod(LoaderXmlFileLoader::class, 'loadFile')]
1316
class XmlDoctrineExtensionTest extends AbstractDoctrineExtensionTestCase
1417
{
1518
protected function loadFromFile(

0 commit comments

Comments
 (0)