Replies: 1 comment 3 replies
-
|
Have you set up objectManagerLoader as part of phpstan-doctrine? Then it should not return null. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a custom rule that needs to check Doctrine metadata. However I've not been able to access them without triggering an error. So far I tried:
What's the intended way to get the metadata in a custom rule? If there is no intended way currently, can we include
ObjectMetadataResolver::getClassMetadata()into the backward compatibility promise?Beta Was this translation helpful? Give feedback.
All reactions