From 2f0ee1d8679c0a5de721520a4cc05de72aae9db3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Mon, 3 Oct 2022 02:16:18 +0200 Subject: [PATCH] Add note about normalisation prevention --- DependencyInjection/Configuration.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index 3ceb22f..1dc5166 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -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']) -- 2.41.1