Skip to content

Commit 24c657d

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: [Serializer] Save missing arguments in MissingConstructorArgumentsException remove support for deprecated "threadKey" parameter Remove useless comment in test [DomCrawler] Added Crawler::innerText() method [Form] Add the EnumType Fix iterrator in ServiceConfigurator [Console] Add support of RGB functional notation for output colors Add Slovak lang translation #41081 [Validator] Add error's uid to `Count` and `Length` constraints with "exactly" option enabled [Validator] Add missing thai translation [Yaml] Add 0 to float repr [Translation] Add Burmese translation [Notifier] Update FirebaseTransport.php fix: #43086 remove shortcut e for option exclude of Yaml/LintCommand - solve conflict with --env -e Map `multipart/form-data` as `form` Content-Type [Serializer] Throw NotNormalizableValueException when type is not known or not in body in discriminator map [Yaml] Use more concise float representation in dump [FrameworkBundle] Remove translation data_collector BEFORE adding it to profiler
2 parents 76c68de + 8a6e259 commit 24c657d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FrameworkBundle.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ public function build(ContainerBuilder $container)
121121
$container->addCompilerPass(new RegisterControllerArgumentLocatorsPass());
122122
$container->addCompilerPass(new RemoveEmptyControllerArgumentLocatorsPass(), PassConfig::TYPE_BEFORE_REMOVING);
123123
$container->addCompilerPass(new RoutingResolverPass());
124+
$container->addCompilerPass(new DataCollectorTranslatorPass());
124125
$container->addCompilerPass(new ProfilerPass());
125126
// must be registered before removing private services as some might be listeners/subscribers
126127
// but as late as possible to get resolved parameters
@@ -140,7 +141,6 @@ public function build(ContainerBuilder $container)
140141
$container->addCompilerPass(new FragmentRendererPass());
141142
$this->addCompilerPassIfExists($container, SerializerPass::class);
142143
$this->addCompilerPassIfExists($container, PropertyInfoPass::class);
143-
$container->addCompilerPass(new DataCollectorTranslatorPass());
144144
$container->addCompilerPass(new ControllerArgumentValueResolverPass());
145145
$container->addCompilerPass(new CachePoolPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, 32);
146146
$container->addCompilerPass(new CachePoolClearerPass(), PassConfig::TYPE_AFTER_REMOVING);

0 commit comments

Comments
 (0)