Symfony 5 console compatibility #6334

Closed
opened 2026-01-22 15:31:10 +01:00 by admin · 3 comments
Owner
Originally created by @dmaicher on GitHub (Oct 27, 2019). Originally assigned to: @lcobucci on GitHub. ### Bug Report | Q | A |------------ | ------ | BC Break | no | Version | 2.6 #### Summary Some commands inside this repository are not compatible with Symfony 5 since it will require an integer exit code for all `execute` methods. https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Console/Command/Command.php#L153 https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Console/Command/Command.php#L258 Affected commands: - https://github.com/doctrine/orm/blob/master/lib/Doctrine/ORM/Tools/Console/Command/GenerateProxiesCommand.php#L44 - https://github.com/doctrine/orm/blob/master/lib/Doctrine/ORM/Tools/Console/Command/RunDqlCommand.php#L48 - https://github.com/doctrine/orm/blob/master/lib/Doctrine/ORM/Tools/Console/Command/ClearCache/CollectionRegionCommand.php#L68 - https://github.com/doctrine/orm/blob/master/lib/Doctrine/ORM/Tools/Console/Command/ClearCache/EntityRegionCommand.php#L67 - https://github.com/doctrine/orm/blob/master/lib/Doctrine/ORM/Tools/Console/Command/ClearCache/QueryRegionCommand.php#L66 Related: https://github.com/doctrine/dbal/pull/3706
admin closed this issue 2026-01-22 15:31:10 +01:00
Author
Owner

@Seb33300 commented on GitHub (Nov 13, 2019):

Already fixed on 2.7

https://github.com/doctrine/orm/pull/7876

@Seb33300 commented on GitHub (Nov 13, 2019): Already fixed on 2.7 https://github.com/doctrine/orm/pull/7876
Author
Owner

@evertharmeling commented on GitHub (Nov 14, 2019):

And will be in 2.6 :)

#7899

EDIT: oh it's not...

@evertharmeling commented on GitHub (Nov 14, 2019): And will be in 2.6 :) #7899 EDIT: oh it's not...
Author
Owner

@derrabus commented on GitHub (Nov 23, 2019):

We have a stable ORM release supporting Symfony 5 now. Can we close this issue? #SymfonyHackday

@derrabus commented on GitHub (Nov 23, 2019): We have a stable ORM release supporting Symfony 5 now. Can we close this issue? #SymfonyHackday
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#6334