[PR #10837] Deprecate not-enabling lazy-ghosts and decouple from doctrine/common's proxies #12652

Open
opened 2026-01-22 16:14:45 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/10837

State: closed
Merged: Yes


This PR deprecates not-enabling lazy-ghosts so that ORM v3 can drop support for doctrine/common's proxies.

It also rewrites ProxyFactory so that when lazy-ghosts are enabled, none of the code in the Doctrine\Common\Proxy namespace is run. This enables deprecating everything related to proxies in doctrine/common.

**Original Pull Request:** https://github.com/doctrine/orm/pull/10837 **State:** closed **Merged:** Yes --- This PR deprecates not-enabling lazy-ghosts so that ORM v3 can drop support for doctrine/common's proxies. It also rewrites ProxyFactory so that when lazy-ghosts are enabled, none of the code in the `Doctrine\Common\Proxy` namespace is run. This enables deprecating everything related to proxies in doctrine/common.
admin added the pull-request label 2026-01-22 16:14:45 +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#12652