-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Remove copy() method from EntityManager #6794
Conversation
FYI, this PR should target develop as it's the development branch for 3.0.
IMO, no.
Yes. Deprecation needs to happen in master. |
@alcaeus Should I close this PR and recreate it with a branch from develop for the copy-removal? |
@guilhermeblanco was rebasing develop to sync with the latest changes in master, so I'd recommend to ensure that he's done with it before of merging this PR |
The deprecation PR to master will follow. |
The deprecation PR is done in #6803. |
9f5fd37
to
e7d61c2
Compare
This will need a rebase 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.
LGTM.
Travis build is missing for unknown reason but it's tests are currently not working on develop branch anyway.
@SenseException Thanks. Let's handle deprecation for 2.x in #6803 now. |
The method
EntityManager::copy()
is a pretty old addition to Doctrine and never got any functionality, which is why I created this PR to remove this method from theEntityManager
.Because I had to remove this method from
EntityManagerInterface
too, I consider this a BC break. Even though the originalEntityManager
never got any functionality for copy, a user may have created a custom entity manager for a project, that uses a custom implementation of copy.Questions: