@@ -710,7 +710,6 @@ public function testSingleChoiceExpandedWithLabelsAsFalse()
710
710
{
711
711
$ form = $ this ->factory ->createNamed ('name ' , 'Symfony\Component\Form\Extens
8000
ion\Core\Type\ChoiceType ' , '&a ' , array (
712
712
'choices ' => array ('Choice&A ' => '&a ' , 'Choice&B ' => '&b ' ),
713
- 'choices_as_values ' => true ,
714
713
'choice_label ' => false ,
715
714
'multiple ' => false ,
716
715
'expanded ' => true ,
@@ -733,7 +732,6 @@ public function testSingleChoiceExpandedWithLabelsSetByCallable()
733
732
{
734
733
$ form = $ this ->factory ->createNamed ('name ' , 'Symfony\Component\Form\Extension\Core\Type\ChoiceType ' , '&a ' , array (
735
734
'choices ' => array ('Choice&A ' => '&a ' , 'Choice&B ' => '&b ' , 'Choice&C ' => '&c ' ),
736
- 'choices_as_values ' => true ,
737
735
'choice_label ' => function ($ choice , $ label , $ value ) {
738
736
if ('&b ' === $ choice ) {
739
737
return false ;
@@ -765,7 +763,6 @@ public function testSingleChoiceExpandedWithLabelsSetFalseByCallable()
765
763
{
766
764
$ form = $ this ->factory ->createNamed ('name ' , 'Symfony\Component\Form\Extension\Core\Type\ChoiceType ' , '&a ' , array (
767
765
'choices ' => array ('Choice&A ' => '&a ' , 'Choice&B ' => '&b ' ),
768
- 'choices_as_values ' => true ,
769
766
'choice_label ' => function () {
770
767
return false ;
771
768
},
@@ -790,7 +787,6 @@ public function testMultipleChoiceExpandedWithLabelsAsFalse()
790
787
{
791
788
$ form = $ this ->factory ->createNamed ('name ' , 'Symfony\Component\Form\Extension\Core\Type\ChoiceType ' , array ('&a ' ), array (
792
789
'choices ' => array ('Choice&A ' => '&a ' , 'Choice&B ' => '&b ' ),
793
- 'choices_as_values ' => true ,
794
790
'choice_label ' => false ,
795
791
'multiple ' => true ,
796
792
'expanded ' => true ,
@@ -813,7 +809,6 @@ public function testMultipleChoiceExpandedWithLabelsSetByCallable()
813
809
{
814
810
$ form = $ this ->factory ->createNamed ('name ' , 'Symfony\Component\Form\Extension\Core\Type\ChoiceType ' , array ('&a ' ), array (
815
811
'choices ' => array ('Choice&A ' => '&a ' , 'Choice&B ' => '&b ' , 'Choice&C ' => '&c ' ),
816
- 'choices_as_values ' => true ,
817
812
'choice_label ' => function ($ choice , $ label , $ value ) {
818
813
if ('&b ' === $ choice ) {
819
814
return false ;
@@ -845,7 +840,6 @@ public function testMultipleChoiceExpandedWithLabelsSetFalseByCallable()
845
840
{
846
841
$ form = $ this ->factory ->createNamed ('name ' , 'Symfony\Component\Form\Extension\Core\Type\ChoiceType ' , array ('&a ' ), array (
847
842
'choices ' => array ('Choice&A ' => '&a ' , 'Choice&B ' => '&b ' ),
848
- 'choices_as_values ' => true ,
849
843
'choice_label ' => function () {
850
844
return false ;
851
845
},
0 commit comments