fix deprecations: add choices_as_values=true + flip contents of choice in ChoiceType

This commit is contained in:
nobohan
2018-04-04 22:00:37 +02:00
parent fac8506893
commit 9cd32cb59c
5 changed files with 7 additions and 3 deletions

View File

@@ -122,6 +122,7 @@ class CSVFormatter implements FormatterInterface
range(1, $nbAggregators),
range(1, $nbAggregators)
),
'choices_as_values' => true,
'multiple' => false,
'expanded' => false
));

View File

@@ -194,6 +194,7 @@ class SpreadSheetFormatter implements FormatterInterface
range(1, $nbAggregators),
range(1, $nbAggregators)
),
'choices_as_values' => true,
'multiple' => false,
'expanded' => false
));