[Messenger] fix broken key normalization

This commit is contained in:
Tobias Schultze 2019-07-04 22:24:44 +02:00
parent 511fc93640
commit 9931b3e183

View File

@ -1114,6 +1114,7 @@ class Configuration implements ConfigurationInterface
->end()
->children()
->arrayNode('routing')
->normalizeKeys(false)
->useAttributeAsKey('message_class')
->beforeNormalization()
->always()
@ -1173,6 +1174,7 @@ class Configuration implements ConfigurationInterface
->end()
->end()
->arrayNode('transports')
->normalizeKeys(false)
->useAttributeAsKey('name')
->arrayPrototype()
->beforeNormalization()
@ -1220,6 +1222,7 @@ class Configuration implements ConfigurationInterface
->scalarNode('default_bus')->defaultNull()->end()
->arrayNode('buses')
->defaultValue(['messenger.bus.default' => ['default_middleware' => true, 'middleware' => []]])
->normalizeKeys(false)
->useAttributeAsKey('name')
->arrayPrototype()
->addDefaultsIfNotSet()