Skip to content

Commit b371ded

Browse files
Merge branch '6.4' into 7.3
* 6.4: [VarExporter] Fix serializing classes with __serialize() returning unprefixed private properties Remove direct access to internal properties cross-components
2 parents 76e16e8 + d6cda62 commit b371ded

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Validator/DoctrineLoaderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ public function testClassNoAutoMapping()
214214

215215
/** @var PropertyMetadata[] $autoMappingExplicitlyEnabledMetadata */
216216
$autoMappingExplicitlyEnabledMetadata = $classMetadata->getPropertyMetadata('autoMappingExplicitlyEnabled');
217-
$this->assertCount(1, $autoMappingExplicitlyEnabledMetadata[0]->constraints);
217+
$this->assertCount(1, $autoMappingExplicitlyEnabledMetadata[0]->getConstraints());
218218
$this->assertSame(AutoMappingStrategy::ENABLED, $autoMappingExplicitlyEnabledMetadata[0]->getAutoMappingStrategy());
219219
}
220220
}

0 commit comments

Comments
 (0)