-
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
Use lazy ghosts unconditionally #10969
Conversation
347f008
to
4e3e8bd
Compare
* @param class-string $className | ||
* @param array<mixed> $identifier | ||
* | ||
* @return InternalProxy |
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.
Using a native return type here will involve modify some tests that mock calls to getProxy
and make them return actual entities.
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 think we should fix those tests, but that could be done in a follow-up.
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.
Please modify composer.json and make symfony/var-exporter
a mandatory dependency.
* @param class-string $className | ||
* @param array<mixed> $identifier | ||
* | ||
* @return InternalProxy |
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 think we should fix those tests, but that could be done in a follow-up.
c39297a
to
e5122b0
Compare
Yeah me too… but I haven't found a clear solution so far. |
Extending it no longer serves any purpose.
e5122b0
to
a511ab3
Compare
A nice consequence of this is that we can almost get rid of
doctrine/common
now. I think we might only depend onClassUtils
now.