Skip to content

Commit 8930440

Browse files
ajgarlaggreg0ire
authored andcommitted
Restore IgnoreDeprecations attributes removed by mistake
1 parent 564fe5b commit 8930440

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/DependencyInjection/AbstractDoctrineExtensionTestCase.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ public function testDbalLoadSavepointsForNestedTransactions(): void
277277
$this->assertCount(0, $calls);
278278
}
279279

280+
#[IgnoreDeprecations]
280281
public function testDbalLoadDisableTypeComments(): void
281282
{
282283
$container = $this->loadContainer(fixture: 'dbal_disable_type_comments', withMinimalOrmConfig: false);
@@ -297,6 +298,7 @@ public function testDbalLoadDisableTypeComments(): void
297298
$this->assertCount(0, $calls);
298299
}
299300

301+
#[IgnoreDeprecations]
300302
public function testDbalSchemaManagerFactory(): void
301303
{
302304
$container = $this->loadContainer(fixture: 'dbal_schema_manager_factory', withMinimalOrmConfig: false);
@@ -559,6 +561,7 @@ public function testSingleEntityManagerMultipleMappingBundleDefinitions(): void
559561
}
560562

561563
/** Remove the attribute and keep the test in 3.0.x */
564+
#[IgnoreDeprecations]
562565
public function testMultipleEntityManagersMappingBundleDefinitions(): void
563566
{
564567
if (! interface_exists(EntityManagerInterface::class)) {
@@ -707,6 +710,7 @@ public function testSetTypedFieldMapper(): void
707710
}
708711

709712
#[DataProvider('cacheConfigProvider')]
713+
#[IgnoreDeprecations]
710714
public function testCacheConfig(string|null $expectedClass, string $entityManagerName, string|null $cacheGetter): void
711715
{
712716
if (! interface_exists(EntityManagerInterface::class)) {
@@ -952,6 +956,7 @@ public function testDisablingLazyGhostOnOrm3Throws(): void
952956
$this->loadContainer('orm_no_lazy_ghost');
953957
}
954958

959+
#[IgnoreDeprecations]
955960
public function testDisablingReportFieldsWhereDeclaredOnOrm3Throws(): void
956961
{
957962
if (! interface_exists(EntityManagerInterface::class)) {
@@ -996,6 +1001,7 @@ public function testEnablingReportFieldsWhereDeclaredOnOrm2IsFine(): void
9961001
$this->loadContainer('orm_report_fields');
9971002
}
9981003

1004+
#[IgnoreDeprecations]
9991005
public function testSettingDisableTypeCommentsWithDbal4IsDeprecated(): void
10001006
{
10011007
if (method_exists(Connection::class, 'getEventManager')) {
@@ -1016,6 +1022,7 @@ public function testSettingDisableTypeCommentsWithDbal3IsFine(): void
10161022
$this->loadContainer(fixture: 'dbal_disable_type_comments', withMinimalOrmConfig: false);
10171023
}
10181024

1025+
#[IgnoreDeprecations]
10191026
public function testSettingUseSavepointsWithDbal4IsDeprecated(): void
10201027
{
10211028
if (method_exists(Connection::class, 'getEventManager')) {
@@ -1219,6 +1226,7 @@ public function testDbalSchemaFilterNewConfig(): void
12191226
}
12201227
}
12211228

1229+
#[IgnoreDeprecations]
12221230
public function testWellKnownSchemaFilterDefaultTables(): void
12231231
{
12241232
$container = $this->getContainer([]);
@@ -1241,6 +1249,7 @@ public function testWellKnownSchemaFilterDefaultTables(): void
12411249
$this->assertTrue($filter->__invoke('anything_else'));
12421250
}
12431251

1252+
#[IgnoreDeprecations]
12441253
public function testWellKnownSchemaFilterOverriddenTables(): void
12451254
{
12461255
$container = $this->getContainer([]);
@@ -1485,6 +1494,7 @@ public function testDisableSchemaValidation(): void
14851494
$this->assertFalse($collectorDefinition->getArguments()[1]);
14861495
}
14871496

1497+
#[IgnoreDeprecations]
14881498
public function testNativeLazyObjectsWithoutConfig(): void
14891499
{
14901500
if (! interface_exists(EntityManagerInterface::class)) {
@@ -1532,6 +1542,7 @@ public function testNativeLazyObjectsWithConfigTrue(): void
15321542
$this->assertTrue($entityManager->getConfiguration()->isNativeLazyObjectsEnabled());
15331543
}
15341544

1545+
#[IgnoreDeprecations]
15351546
public function testNativeLazyObjectsWithConfigFalse(): void
15361547
{
15371548
if (! interface_exists(EntityManagerInterface::class)) {

0 commit comments

Comments
 (0)