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
Updated symfony requirements for 5.4. #8
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @Raistlfiren ! Thank you for creating this PR! Yeah, we definitely should allow Symfony 5.4, but in a bit different way. Could you make those changes I mentioned?
@@ -25,9 +25,9 @@ | |||
}, | |||
"require": { | |||
"php": ">=5.5.9", | |||
"symfony/framework-bundle": "^3.4", | |||
"symfony/twig-bundle": "^3.4", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we still want to support Symfony 4.4 which is LTS and supports bug fixes until Nov 2022. And also, there's Symfony 6 already, we need to allow it as well :)
I'd write constraints as ^4.4|^5.4|^6.0
. Could you make this change for both Symfony dependencies, please?
@@ -25,9 +25,9 @@ | |||
}, | |||
"require": { | |||
"php": ">=5.5.9", | |||
"symfony/framework-bundle": "^3.4", | |||
"symfony/twig-bundle": "^3.4", | |||
"twig/twig": "^2.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And if we want to support legacy versions I mentioned above - bumping twig to the new major version might be too aggressive. I'd rather allow Twig 2.0 or Twig 3.0, i.e. ^2.0|^3.0
Thank you @bocharsky-bw for the feedback. I thought there was a better way than the approach I took, but I wasn't sure of how to do it. I updated the |
Nice, I'm happy now :) And thank you for your interest in this bundle! I haven't used this one since Symfony 3.4 probably, as you can see from the old composer.json 😇 But I think this bundle is still good for this simple purpose :) Cheers! |
Just updated Symfony requirements to be compatible with Symfony 5.4.