-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[DoctrineBridge] Remove RegistryInterface #32394
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
Labels
Milestone
Comments
Let's do it! |
Tobion
added a commit
that referenced
this issue
Aug 1, 2019
This PR was merged into the 4.4 branch. Discussion ---------- [DoctrineBridge] Deprecate RegistryInterface | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yno | New feature? | no | BC breaks? | no | Deprecations? | yes | Tests pass? | yes | Fixed tickets | #32394 | License | MIT | Doc PR | - Commits ------- 151415b [DoctrineBridge] Deprecated RegistryInterface
Koc
added a commit
to Koc/symfony
that referenced
this issue
Aug 1, 2019
Tobion
added a commit
that referenced
this issue
Aug 2, 2019
This PR was merged into the 5.0-dev branch. Discussion ---------- [DoctrineBridge] Removed RegistryInterface | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | yes | Deprecations? | no | Tests pass? | yes | Fixed tickets | #32394 | License | MIT | Doc PR | - Follow up of #32817 Commits ------- ad1dd6c [DoctrineBridge] Removed RegistryInterface (closes #32394)
m-vo
pushed a commit
to m-vo/symfony
that referenced
this issue
Sep 20, 2019
m-vo
pushed a commit
to m-vo/symfony
that referenced
this issue
Sep 20, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The doctrine bridge contains the interface
Symfony\Bridge\Doctrine\RegistryInterface
.The only implementation of that interface that I know of is
Doctrine\Bundle\DoctrineBundle\Registry
which has been triggering deprecation errors for each method defined by the interface for 6.5 years now: doctrine/DoctrineBundle@89c7e14Its parent interface
Doctrine\Common\Persistence\ManagerRegistry
is an equal replacement.I haven't found a single reference to the interface in the symfony codebase (except for the one I've removed in [Messenger] Use ConnectionRegistry instead of RegistryInterface #32354).
I find the very existence of this interface highly confusing and suggest to deprecate the interface in 4.4 and remove it with Symfony 5.
The text was updated successfully, but these errors were encountered: