mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #9671] Conditionally extend the old AnnotationDriver class
#11788
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/9671
State: closed
Merged: Yes
Fixes #9668.
Replaces #9670.
This PR restores the old inheritance chain of
AnnotationDriverandAttributeDriverif Persistence 2 is installed. Unfortunately, DoctrineModule uses a flawed logic to determine the constructor arguments of a mapping driver class, see doctrine/DoctrineModule#774. With this change, that logic should work again.When merging this PR up to 3.0.x, I would simply revert it.