mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
Disallow override of inherited property #7077
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?
Originally created by @michnovka on GitHub (Dec 11, 2022).
I came across https://github.com/doctrine/orm/pull/8348 and I found in current code we still have
b25561ad96/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php (L2632-L2635)I think that this exception should be thrown here, don't you think? @beberlei
@mpdude commented on GitHub (Jan 19, 2023):
I think pointing out configurations that are not officially supported and only work by chance is a good thing to do. Hopefully it works towards bringing down the number of bug reports for dubious use cases.
What about creating a PR for this? Are there tests already?
@mpdude commented on GitHub (Feb 13, 2023):
#10470 solved this, please close