Skip to content
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

Merged
merged 2 commits into from Jan 21, 2022

Conversation

Raistlfiren
Copy link

Just updated Symfony requirements to be compatible with Symfony 5.4.

Copy link
Owner

@bocharsky-bw bocharsky-bw left a 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",
Copy link
Owner

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"
Copy link
Owner

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

@Raistlfiren
Copy link
Author

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 composer.json as you requested. Thank you for maintaining and taking care of this repository.

@bocharsky-bw
Copy link
Owner

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!

@bocharsky-bw bocharsky-bw merged commit 8b032be into bocharsky-bw:master Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants