8000 minor #51477 [FrameworkBundle] Remove compat code (fabpot) · hhamon/symfony@d510239 · GitHub
[go: up one dir, main page]

Skip to content

Commit d510239

Browse files
committed
minor symfony#51477 [FrameworkBundle] Remove compat code (fabpot)
This PR was merged into the 7.0 branch. Discussion ---------- [FrameworkBundle] Remove compat code | Q | A | ------------- | --- | Branch? | 7.0 | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | n/a | License | MIT | Doc PR | n/a Commits ------- ef71e2a [FrameworkBundle] Remove compat code
2 parents d6a1532 + ef71e2a commit d510239

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1851,12 +1851,6 @@ private function registerSerializerConfiguration(array $config, ContainerBuilder
18511851
$container->removeDefinition('serializer.normalizer.translatable');
18521852
}
18531853

1854-
// compat with Symfony < 6.3
1855-
if (!is_subclass_of(ProblemNormalizer::class, SerializerAwareInterface::class)) {
1856-
$container->getDefinition('serializer.normalizer.problem')
1857-
->setArguments(['%kernel.debug%']);
1858-
}
1859-
18601854
$serializerLoaders = [];
18611855
if (isset($config['enable_attributes']) && $config['enable_attributes']) {
18621856
if ($container->getParameter('kernel.debug')) {

0 commit comments

Comments
 (0)
0