]> Raphaël G. Git Repositories - userbundle/commitdiff
Add note about normalisation prevention
authorRaphaël Gertz <git@rapsys.eu>
Mon, 3 Oct 2022 00:16:18 +0000 (02:16 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Mon, 3 Oct 2022 00:16:18 +0000 (02:16 +0200)
DependencyInjection/Configuration.php

index 3ceb22ff5dc46648e9f9ce98c4dbea92d8bc8725..1dc51669a73fef32915335b81eb57f6977e06e31 100644 (file)
@@ -228,7 +228,9 @@ class Configuration implements ConfigurationInterface {
                                                ->defaultValue($defaults['translate'])
                                                ->scalarPrototype()->end()
                                        ->end()
+                                       #TODO: see if we can't prevent key normalisation with ->normalizeKeys(false)
                                        ->scalarNode('locales')->cannotBeEmpty()->defaultValue($defaults['locales'])->end()
+                                       #TODO: see if we can't prevent key normalisation with ->normalizeKeys(false)
                                        ->arrayNode('languages')
                                                ->treatNullLike([])
                                                ->defaultValue($defaults['languages'])