Skip to content

Commit 0100795

Browse files
committed
Merge branch '7.1' into 7.2
* 7.1: do not modify a constraint during validation to not leak its context remove entry about undeprecated getTypes() method not registered definitions must not be modified fix low deps [String] Fix Inflector for 'hardware' [Mime] Use streams instead of loading raw message generator into memory Bump Symfony version to 7.0.9 Update VERSION for 7.0.8 Update CHANGELOG for 7.0.8 Bump Symfony version to 6.4.9 Update VERSION for 6.4.8 Update CHANGELOG for 6.4.8 Bump Symfony version to 5.4.41 Update VERSION for 5.4.40 Update CONTRIBUTORS for 5.4.40 Update CHANGELOG for 5.4.40
2 parents d9a5208 + 79a2049 commit 0100795

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

DependencyInjection/FrameworkExtension.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1909,6 +1909,10 @@ private function registerSerializerConfiguration(array $config, ContainerBuilder
19091909
$container->setParameter('serializer.default_context', $defaultContext);
19101910
}
19111911

1912+
if (!$container->hasDefinition('serializer.normalizer.object')) {
1913+
return;
1914+
}
1915+
19121916
$arguments = $container->getDefinition('serializer.normalizer.object')->getArguments();
19131917
$context = [];
19141918

0 commit comments

Comments
 (0)