Skip to content

[Form] Fixed overridden choices option in extended choice types #21880

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

Merged
merged 1 commit into from
Mar 6, 2017

Conversation

HeahDude
Copy link
Contributor

@HeahDude HeahDude commented Mar 5, 2017

Q A
Branch? 3.2
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #20771
License MIT
Doc PR ~

use Symfony\Component\Form\Forms;
use Symfony\Component\Form\Tests\Fixtures\ChoiceTypeExtension;

class ExtendedChoiceTypeTest extends \PHPUnit_Framework_TestCase
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

legacy TestCase, should use namespaced version

Copy link
Contributor Author

@HeahDude HeahDude Mar 6, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not a legacy test :). At least for now.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the "underscore" is legacy in PHPUnit_Framework_TestCase, not the test case :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed, thanks!

@nicolas-grekas nicolas-grekas added this to the 3.2 milestone Mar 6, 2017
Copy link
Member

@xabbuh xabbuh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 after the base test case class has been fixed

@HeahDude HeahDude force-pushed the fix/extended-choice-types branch from c71fd5f to bcda2c2 Compare March 6, 2017 17:31
@HeahDude
Copy link
Contributor Author

HeahDude commented Mar 6, 2017

Rebased, ready to merge!

@fabpot
Copy link
Member

fabpot commented Mar 6, 2017

Thank you @HeahDude.

@fabpot fabpot merged commit bcda2c2 into symfony:3.2 Mar 6, 2017
fabpot added a commit that referenced this pull request Mar 6, 2017
…types (HeahDude)

This PR was merged into the 3.2 branch.

Discussion
----------

[Form] Fixed overridden choices option in extended choice types

| Q             | A
| ------------- | ---
| Branch?       | 3.2
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #20771
| License       | MIT
| Doc PR        | ~

Commits
-------

bcda2c2 [Form] Fixed overridden choices option in extended choice types
@HeahDude HeahDude deleted the fix/extended-choice-types branch March 6, 2017 17:57
@fabpot fabpot mentioned this pull request Mar 9, 2017
fabpot added a commit that referenced this pull request Apr 5, 2017
…es (HeahDude)

This PR was merged into the 3.3-dev branch.

Discussion
----------

[Form] Deprecated usage of "choices" option in sub types

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #... <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | ~

Follows #21880 and the discussion in #20771.

Commits
-------

b5b56fc [Form] Deprecated usage of "choices" option in sub types
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants