[PR #10919] Support Symfony 7 by adding return types conditionally #12697

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

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

State: closed
Merged: Yes


Symfony 7 will add more return types to the console component. This PR uses conditional traits to add the necessary return types if they're present upstream. This way, we won't break downstream projects that override our commands unless those projects upgrade to Symfony 7 themselves.

**Original Pull Request:** https://github.com/doctrine/orm/pull/10919 **State:** closed **Merged:** Yes --- Symfony 7 will add more return types to the console component. This PR uses conditional traits to add the necessary return types if they're present upstream. This way, we won't break downstream projects that override our commands unless those projects upgrade to Symfony 7 themselves.
admin added the pull-request label 2026-01-22 16:14:53 +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#12697