Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Form] ChoiceType: Fix a notice when 'choices' normalizer is replaced #17406

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
cs fix by fabbot.io
  • Loading branch information
paradajozsef committed Jan 17, 2016
commit 9d1babbd7f5a9f977d1c71027dad4413096c3fa6
Original file line number Diff line number Diff line change
Expand Up @@ -1902,8 +1902,8 @@ public function testCustomChoiceTypeDoesNotInheritChoiceLabels()
$builder->add('choice', 'choice', array(
'choices' => array(
'1' => '1',
'2' => '2'
)
'2' => '2',
),
)
);
$builder->add('subChoice', new ChoiceSubType());
Expand All @@ -1912,7 +1912,7 @@ public function testCustomChoiceTypeDoesNotInheritChoiceLabels()
'1' => '1',
'2' => '2',
'3' => '3',
)
),
)
);
$form = $builder->getForm();
Expand Down
3 changes: 2 additions & 1 deletion 3 src/Symfony/Component/Form/Tests/Fixtures/ChoiceSubType.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

namespace Symfony\Component\Form\Tests\Fixtures;

use Symfony\Component\Form\AbstractType;
Expand Down Expand Up @@ -38,4 +39,4 @@ public function getParent()
{
return 'choice';
}
}
}
Morty Proxy This is a proxified and sanitized view of the page, visit original site.