-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #917: Allow Robo to be used with Symfony 5. #940
Conversation
There's a test failure here from We also have a problem with Symfony/Process requiring a factory method instead of a constructor to use a string parameter to exec. We might need to test which version of Symfony/Process we have, as the new factory method is not available in older versions of Symfony/Process (and we'd need to do a major version bump to drop old Symfony/Process versions). |
The event dispatcher in v5 changed the parameter signature from For the Process component a simple |
The method |
I forgot that I already dropped support for older versions of Symfony/Process in Robo 2. That turns out to have been foresightful; makes things easier here. |
i won't drop support for a symfony version which is still supported. https://symfony.com/releases/3.4 End of bug fixes: November 2020 End of security fixes: November 2021 a task runner should be compatible with legacy php and symfony versions as long as possible. bc layers would be awesome. just my opinion |
Yeah, with more maintainers maybe it wouldn't be a big deal to include more Symfony versions. There's still the Robo 1.x branch for Symfony 3. If you need Symfony 3 AND Symfony 5, you could consider back-porting this PR to the 1.x branch. Pretty soon we have to think about Composer 2 as well, though; limiting supported versions greatly reduces the testing permutations. |
8a39522
to
0b1e36c
Compare
For those who wish to support a wide variety of Symfony versions, |
This fixed many incompatibilities between Robo and Symfony 5, but not all. |
Overview
This pull request:
Summary
Allow Symfony 5.