-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[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
Conversation
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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed, thanks!
There was a problem hiding this 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
c71fd5f
to
bcda2c2
Compare
Rebased, ready to merge! |
Thank you @HeahDude. |
…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
…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