mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #8210] Property access on metadata Interface #10865
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/doctrine/orm/pull/8210
State: closed
Merged: No
this PR replace invalid access to name property on the Metadata Interface. The property is actually defined in its implementation MetadataInfo. The replacement is getName() function that is defined in the interface so it's valid.
There are still some read access to name that can't be replace as easily that I will look into if this PR is well received. Also there are write access and more properties that will have to be replaced.
Note: this is a good chunk of issues in the next level of PHPStan and future levels of Psalm