[PR #957] makes doctrine less dependent upon the symfony yaml component #8960

Closed
opened 2026-01-22 16:02:30 +01:00 by admin · 0 comments
Owner

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

State: closed
Merged: Yes


This is the last place in the framework where the class is just too tightly coupled with the symfony yaml component, that the yaml parser alone cannot be overridden without overriding an entire class.
I simply brought it in accordance with "Doctrine\ORM\Mapping\Driver\YamlDriver" where a separate method called loadMappingFile exists to parse the mapping file.

**Original Pull Request:** https://github.com/doctrine/orm/pull/957 **State:** closed **Merged:** Yes --- This is the last place in the framework where the class is just too tightly coupled with the symfony yaml component, that the yaml parser alone cannot be overridden without overriding an entire class. I simply brought it in accordance with "Doctrine\ORM\Mapping\Driver\YamlDriver" where a separate method called loadMappingFile exists to parse the mapping file.
admin added the pull-request label 2026-01-22 16:02:30 +01:00
admin closed this issue 2026-01-22 16:02:30 +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#8960