[PR #9452] Check requirements for metadata drivers #11624

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

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

State: closed
Merged: Yes


Fixes #9449, replaces #9416.

Our metadata drivers require additional dependencies. If those are not met, the user receives a cryptic error message instead of a helpful one. Especially regarding Doctrine Annotations, I consider this to be a bug because doctrine/annotations used to be a mandatory dependency.

Please review thoroughly. Except for the attribute driver, our current CI setup does not allow me to test code that reacts to the missing dependencies.

**Original Pull Request:** https://github.com/doctrine/orm/pull/9452 **State:** closed **Merged:** Yes --- Fixes #9449, replaces #9416. Our metadata drivers require additional dependencies. If those are not met, the user receives a cryptic error message instead of a helpful one. Especially regarding Doctrine Annotations, I consider this to be a bug because `doctrine/annotations` used to be a mandatory dependency. Please review thoroughly. Except for the attribute driver, our current CI setup does not allow me to test code that reacts to the missing dependencies.
admin added the pull-request label 2026-01-22 16:11:22 +01:00
admin closed this issue 2026-01-22 16:11:22 +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#11624