[PR #10853] Remove outdated comment #12663

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

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

State: closed
Merged: Yes


Since support for persistence 2 has been dropped, this method may no longer acces an aliased class name.
Besides, providing an FQCN with a leading backslash should work since removing it is the first thing that happens inside AbstractClassMetadataFactory::getMetadataFor(): 413eb71a22/src/Persistence/Mapping/AbstractClassMetadataFactory.php (L164-L177)

**Original Pull Request:** https://github.com/doctrine/orm/pull/10853 **State:** closed **Merged:** Yes --- Since support for persistence 2 has been dropped, this method may no longer acces an aliased class name. Besides, providing an FQCN with a leading backslash should work since removing it is the first thing that happens inside `AbstractClassMetadataFactory::getMetadataFor()`: https://github.com/doctrine/persistence/blob/413eb71a22c31c309b5a1cea9701d723cc0d4ae2/src/Persistence/Mapping/AbstractClassMetadataFactory.php#L164-L177
admin added the pull-request label 2026-01-22 16:14:47 +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#12663