Skip to content

Commit 11b8038

Browse files
committed
Merge branch '7.0' into 7.1
* 7.0: fix tests
2 parents d508e90 + 29c1258 commit 11b8038

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Symfony/Component/Serializer/Tests/Normalizer/AbstractObjectNormalizerTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -848,6 +848,11 @@ public function testNormalizeWithIgnoreAttributeAndPrivateProperties()
848848
public function testNormalizeBasedOnAllowedAttributes()
849849
{
850850
$normalizer = new class() extends AbstractObjectNormalizer {
851+
public function getSupportedTypes(?string $format): array
852+
{
853+
return ['*' => false];
854+
}
855+
851856
protected function getAllowedAttributes($classOrObject, array $context, bool $attributesAsString = false): array
852857
{
853858
return ['foo'];

0 commit comments

Comments
 (0)