-
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
Update ClassMetadataInfo::table definition #9703
Conversation
Everything except the name key might be undefined when accessing to this public property, for instance in a LoadMetadataEvent
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.
In addition to your debugger screenshot, the baseline update shows that this is going in the right direction 👍
Yes :) I tried to update the baseline to make the tests pass. |
Well try again 😛 |
I did it 🥳 |
Thanks @pbourdet ! |
Hello,
I recently encountered an issue when bumping the phpstan level of my project.
The code
is reported as an error because
uniqueConstraints
is always set.But when I dump the value, it seems that sometimes, only the name key is set.
Everything except the name key might be undefined when accessing to this public property, for instance in a
loadClassMetadata
event.