Skip to content
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 deprecation layer #312

Merged
merged 2 commits into from
Apr 16, 2020
Merged

Remove deprecation layer #312

merged 2 commits into from
Apr 16, 2020

Conversation

greg0ire
Copy link
Member

doctrine/persistence already provides a deprecation layer for this by
using class aliases: Doctrine\Common\Persistence\ManagerRegistry and
Doctrine\Persistence\ManagerRegistry are two names for the same thing,
there is no need for another layer here, and the type declaration can be
restored as it was before.

doctrine/persistence already provides a deprecation layer for this by
using class aliases: Doctrine\Common\Persistence\ManagerRegistry and
Doctrine\Persistence\ManagerRegistry are two names for the same thing,
there is no need for another layer here, and the type declaration can be
restored as it was before.
@greg0ire
Copy link
Member Author

Sorry @lstrojny , I should have spotted this when reviewing #307, since I'm the author of the deprecation layer in doctrine/persistence 😅

Copy link
Member

@SenseException SenseException left a comment

Choose a reason for hiding this comment

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

  • Resources/doc/index.rst still has Doctrine\Common\Persistence
  • Tests/Fixtures/FooBundle is using Doctrine\Common\Persistence as namespace
  • I assume Tests/DeprecationUtil.php isn't needed anymore, is it?

This namespace has been deprecated
@greg0ire greg0ire requested a review from SenseException April 13, 2020 15:44
@greg0ire
Copy link
Member Author

Not exactly what this PR aims to fix, but good points! Please review again.

@greg0ire greg0ire merged commit 658d3dc into master Apr 16, 2020
@greg0ire greg0ire self-assigned this Apr 16, 2020
@greg0ire greg0ire deleted the remove-deprecation-layer branch April 16, 2020 18:35
@greg0ire greg0ire added this to the 3.4.0 milestone Nov 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants