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

Skip to content

Conversation

webmozart
Copy link
Contributor

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

@nicolas-grekas
Copy link
Member

👍

'choices' => array(),
'choices_as_values' => null, // to be deprecated in 3.1
'choices_as_values' => true, // to be deprecated in 3.1
Copy link
Contributor

Choose a reason for hiding this comment

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

this was done in order to be able to distinguish between somebody setting the option to true and somebody not touching the option at all. If somebody sets it to true manually, it should trigger a deprecation because he would get an exception when we remove the option.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're right, updated

@Tobion
Copy link
Contributor

Tobion commented Nov 28, 2015

@Tobion
Copy link
Contributor

Tobion commented Nov 28, 2015

Thank you @webmozart.

@Tobion Tobion merged commit 8add405 into symfony:master Nov 28, 2015
Tobion added a commit that referenced this pull request Nov 28, 2015
This PR was merged into the 3.0-dev branch.

Discussion
----------

[Form] Removed useless code

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

Commits
-------

8add405 [Form] Removed useless code
@Tobion
Copy link
Contributor

Tobion commented Nov 28, 2015

The first test failure should be fixed when merged and the second one seems unrelated.

nicolas-grekas added a commit that referenced this pull request Nov 29, 2015
This PR was merged into the 2.8 branch.

Discussion
----------

[Bridge/Doctrine+Ldap] Fix tests

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

Using "choice_list" is deprecated and thus can't work with 3.0 deps loaded. Test upgrades backported from #16725
@csarrazi : the Ldap tests now require the ldap extension. Annotations added.

Commits
-------

4819a70 [Bridge/Doctrine+Ldap] Fix tests
@fabpot fabpot mentioned this pull request Nov 30, 2015
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