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

Skip to content

[Form] [DoctrineBridge] updated changelogs after #18359 #18664

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
Apr 29, 2016

Conversation

HeahDude
Copy link
Contributor

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

follows #18359.

@HeahDude HeahDude force-pushed the minor/update-changelogs-18359 branch from 0618b69 to 7fad426 Compare April 28, 2016 14:48
@@ -26,6 +26,8 @@ class DoctrineChoiceLoader implements ChoiceLoaderInterface
{
/**
* @var ChoiceListFactoryInterface
*
* @deprecated since 3.1 to be removed in 4.0.
Copy link
Member

Choose a reason for hiding this comment

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

No need to tag private vars as deprecated.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Alright! I thought as it is just deprecated to pass it in the constructor, it may be forgotten to be removed in 4.0.

Should we keep a simple comment like BC, to be removed in 4.0. or there's no need too?

Copy link
Member

Choose a reason for hiding this comment

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

No need.

Copy link
Member

Choose a reason for hiding this comment

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

In fact, this property, it's assignment and the constructor parameter can simply be removed (and then ignore any factory passed as first argument to the constructor).

It's a private property, so it couldn't be used by the outside world so there is no need for backwards compatibility.

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, I thought about that but didn't dare. I guess I should, thanks!

@HeahDude HeahDude force-pushed the minor/update-changelogs-18359 branch from 7fad426 to 1c8dc9d Compare April 29, 2016 09:14
@HeahDude
Copy link
Contributor Author

Fixed, thanks! I also added a note in the upgrade files, is that correct?

@fabpot
Copy link
Member

fabpot commented Apr 29, 2016

Thank you @HeahDude.

@fabpot fabpot merged commit 1c8dc9d into symfony:master Apr 29, 2016
fabpot added a commit that referenced this pull request Apr 29, 2016
…(HeahDude)

This PR was merged into the 3.1-dev branch.

Discussion
----------

[Form] [DoctrineBridge] updated changelogs after #18359

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

follows #18359.

Commits
-------

1c8dc9d [Form] [DoctrineBridge] updated changelogs after #18359
@HeahDude HeahDude deleted the minor/update-changelogs-18359 branch April 29, 2016 15:43
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