Skip to content
This repository was archived by the owner on Apr 17, 2026. It is now read-only.

Commit b61fa68

Browse files
committed
Fix: Do not use deprecated Doctrine\ORM\Tools\Setup
1 parent 02a91b4 commit b61fa68

2 files changed

Lines changed: 1 addition & 11 deletions

File tree

psalm-baseline.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,6 @@
5151
</UnusedClass>
5252
</file>
5353
<file src="test/Unit/AbstractTestCase.php">
54-
<DeprecatedClass>
55-
<code><![CDATA[ORM\Tools\Setup::createAttributeMetadataConfiguration(
56-
[
57-
__DIR__ . '/../../src/Entity',
58-
],
59-
true,
60-
null,
61-
null,
62-
)]]></code>
63-
</DeprecatedClass>
6454
<DeprecatedMethod>
6555
<code><![CDATA[ORM\EntityManager::create(
6656
[

test/Unit/AbstractTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ abstract class AbstractTestCase extends Framework\TestCase
2323
{
2424
final protected static function entityManager(): ORM\EntityManagerInterface
2525
{
26-
$configuration = ORM\Tools\Setup::createAttributeMetadataConfiguration(
26+
$configuration = ORM\ORMSetup::createAttributeMetadataConfiguration(
2727
[
2828
__DIR__ . '/../../src/Entity',
2929
],

0 commit comments

Comments
 (0)