-
Notifications
You must be signed in to change notification settings - Fork 6
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
Support Symfony 4.4 and 5.x #55
Conversation
c4dea11
to
11a7515
Compare
11a7515
to
7fc15b1
Compare
Hello @damien-carcel ! Thanks for the PR :) Really cool :) One question: where does One remark: I disagree with "Finally, composer.lock was removed...". composer.lock helps to install exactly the dependencies that we developed the tool with. I don't see any value in removing it. GTM otherwise |
@jjanvier actually the In other tems, |
So maybe the best is to remove the php requirement from composer. I don't know. |
@jjanvier I think you mix up 2 concepts. I removed the Concerning the PHP requirement in Concerning My only concern here is the CI always tests against Symfony 5.0. It could be cool to find a way to force the install of Symfony 4.4 to run the tests against it too. |
This PR proposes an update to Symfony 4.4|5.0. The main issue in the update was with the event dispatcher "dispatch" method which has a different signature in SF5 compared to SF3.
The application is also tested against the currently supported versions of PHP: 7.2, 7.3 and 7.4. As a result,
phpspec
was updated to version 6 (the only one to support PHP 7.4) and support for PHP 7.1 was removed as it is not supported anymore and not compatible withphpspec
6.phpstan
was also updated to0.12
as the previously used version doesn't work with Symfony 5.Finally,
composer.lock
was removed as composer will generate a different one for each tested PHP version. Thanks to cache management, the CI still takes less than one minute.