-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[FrameworkBundle][Validator] Fix deprecations from Doctrine Annotations+Cache #41230
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
[FrameworkBundle][Validator] Fix deprecations from Doctrine Annotations+Cache #41230
Conversation
12721f8
to
aae8b2d
Compare
cc @alcaeus |
The Travis failure is particularly interesting. In debug mode, |
This comment has been minimized.
This comment has been minimized.
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.
I really appreciate the fact that you managed to introduce compatibility with a new major release in a patch release with a nice downgrade to an uncached reader if everything else fails. Defensive programming to perfection! 👏
He didn't manage that yet, though. He mentioned he has problems that tests discovered new cache having different behaviour. |
aae8b2d
to
2c9dd17
Compare
2c9dd17
to
3b8dfc7
Compare
I'll take the blame for that, since the difference in behaviour comes from doctrine/annotations providing the wrong functionality. They're supposed to have the same behaviour with different cache libraries. |
The issue |
99bc0bd
to
1cfd50c
Compare
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.
(but let's release annotations 1.13.1 before merging?)
1cfd50c
to
4c12a26
Compare
4c12a26
to
aa4b8bd
Compare
doctrine/annotations 1.13.1 is released, so feel free to bump 👍 |
1.13.1 has been tagged. |
aa4b8bd
to
ec51c21
Compare
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.
Thank you. Just a minor question to clarify
This PR was merged into the 5.3 branch. Discussion ---------- [FrameworkBundle] Remove redundant cache service | Q | A | ------------- | --- | Branch? | 5.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | N/A | License | MIT | Doc PR | N/A Follows #40444 and #41230. `@Nyholm` and I have fixed the same problem on different branches. Merging both efforts, we've created two cache services that are supposed to serve the same purpose. This PR suggests to remove one of them. Commits ------- 3b197fe [Framework] Remove redundant cache service
CachedReader
is deprecated. Let's not use it if we don't have to.Paslm is going to complain about missing classes, which is kind-of expected here. 🙂