-
Notifications
You must be signed in to change notification settings - Fork 230
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
Drop support for Doctrine cache adapter for metadata #804
Conversation
@Ahummeling, you introduced this compatibility layer, I'd be glad to have your review if you can find the time. |
There are also these class definitions involved: DoctrineMongoDBBundle/Resources/config/mongodb.xml Lines 22 to 30 in ddf39bb
I don't know (I haven't properly checked) if changing them would also allow us to remove: DoctrineMongoDBBundle/DependencyInjection/DoctrineMongoDBExtension.php Lines 580 to 650 in ddf39bb
since apparently these classes are used by AbstractDoctrineExtension. |
It's been a while since I've touched this code, I might be able to find some time over the weekend. It was quite a complex task, so would like to take the time for it to properly review this. |
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. Do we have any other remnants of doctrine/cache to clean up?
a85c7d1
to
5b9f2d0
Compare
Resources/config/mongodb.xml
Outdated
@@ -49,7 +39,6 @@ | |||
|
|||
<services> | |||
<!-- defaults --> | |||
<service id="doctrine_mongodb.odm.cache" alias="doctrine_mongodb.odm.cache.array" /> |
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.
Should be deprecated in 4.7. This is not used.
5b9f2d0
to
c5057f3
Compare
00e71c1
to
ec7bad3
Compare
09d6795
to
4b4088f
Compare
Remove BC layer introduced in #690 to keep support for Doctrine cache adapters. PSR-6 is now required.