[PR #8210] Property access on metadata Interface #10865

Closed
opened 2026-01-22 16:08:56 +01:00 by admin · 0 comments
Owner

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

**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
admin added the pull-request label 2026-01-22 16:08:56 +01:00
admin closed this issue 2026-01-22 16:08:56 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#10865