Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Form] Swap new ChoiceView constructor arguments to ease migrating from the deprecated one #14887

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
Jun 10, 2015

Conversation

nicolas-grekas
Copy link
Member

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #14193
License MIT
Doc PR -

@nicolas-grekas
Copy link
Member Author

Since 2.7.0 is really a stabilization release (like all .0 releases) and 2.7.1 is about to be tagged, having this in 2.7.1 is the only window we have to get this fixed.
Ping @webmozart

@nicolas-grekas nicolas-grekas force-pushed the fix-14193 branch 3 times, most recently from 882ee0d to 1eb90fe Compare June 5, 2015 23:52
@xabbuh xabbuh added the Form label Jun 6, 2015
@fabpot
Copy link
Member

fabpot commented Jun 6, 2015

👍

ping @symfony/deciders

@xabbuh
Copy link
Member

xabbuh commented Jun 9, 2015

I am not sure if that is a good idea. Yes, it's not consistent, but do we really want people have to change their apps again if they already adapted the new ChoiceView class?

@@ -23,7 +23,7 @@
"symfony/phpunit-bridge": "~2.7",
"symfony/asset": "~2.7",
"symfony/finder": "~2.3",
"symfony/form": "~2.7",
"symfony/form": "~2.7,>=2.7.1",
Copy link
Member

Choose a reason for hiding this comment

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

this is ^2.7.1

Copy link
Member Author

Choose a reason for hiding this comment

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

This would be the first use of the caret operator isn't it?
We'd rather stick with what we do elsewhere here, and open an other PR for moving everything to the caret operator (and discuss there if it's too early or not)

Copy link
Member

Choose a reason for hiding this comment

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

Let's keep it like it is now.

@stof
Copy link
Member

stof commented Jun 10, 2015

This should be documented as a BC break between 2.7.0 and 2.7.1 though

@nicolas-grekas
Copy link
Member Author

UPGRADE-2.7 updated. If someone has a better wording idea, I'm open to suggestions.

@fabpot
Copy link
Member

fabpot commented Jun 10, 2015

👍

@fabpot
Copy link
Member

fabpot commented Jun 10, 2015

Thank you @nicolas-grekas.

@fabpot fabpot merged commit 909d2b9 into symfony:2.7 Jun 10, 2015
fabpot added a commit that referenced this pull request Jun 10, 2015
…igrating from the deprecated one (nicolas-grekas)

This PR was merged into the 2.7 branch.

Discussion
----------

[Form] Swap new ChoiceView constructor arguments to ease migrating from the deprecated one

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

Commits
-------

909d2b9 [Form] Swap new ChoiceView constructor arguments to ease migrating from the deprecated one
@nicolas-grekas nicolas-grekas deleted the fix-14193 branch June 11, 2015 07:55
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.

4 participants