mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #11498] Remove doctrine/instantiator #13063
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/11498
State: closed
Merged: No
I'd like to remove
doctrine/instantiatorfrom our dependencies.I had a chat with @sebastianbergmann the other day and he told me how relieved he was that he could remove
doctrine/instantiatorfrom PHPUnit's dependencies becauseReflectionClass::newInstanceWithoutConstructor()has become a drop-in replacement for all of his use-cases. This made me wonder if that weren't also the case for the ORM.Is there any situation where instantiator would simply call
ReflectionClass::newInstanceWithoutConstructor()?