-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[String] Add conflict with symfony/translation-contracts >= 3 #44246
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
Conversation
Hey! I see that this is your first PR. That is great! Welcome! Symfony has a contribution guide which I suggest you to read. In short:
Review the GitHub status checks of your pull request and try to solve the reported issues. If some tests are failing, try to see if they are failing because of this change. When two Symfony core team members approve this change, it will be merged and you will become an official Symfony contributor! I am going to sit back now and wait for the reviews. Cheers! Carsonbot |
Thanks. This change would break BC. Instead, we should not allow translation-contracts v3 in the composer.json file of the component:
Can you please update the PR? |
Done, sorry for the mistake :D |
Thank you @Staormin. |
@nicolas-grekas Will this fix be released now? |
Not before a week. You might want to add the same rule in your composer.json file instead. |
…PHP 8.0 (xabbuh) This PR was merged into the 3.x branch. Discussion ---------- fix the set of installed packages for TwigExtraBundle on PHP 8.0 Prevents symfony/translation-contracts 3 to be installed together with symfony/string 5.4.0-RC1 (see https://github.com/twigphp/Twig/actions/runs/9804849131/job/27073398023#step:8:117). Stable releases of the String component don't suffer from this incompatibility because of symfony/symfony#44246. Commits ------- c79c7e7 fix the set of installed packages for TwigExtraBundle on PHP 8.0
Got the following issue this morning in symfony 5.4-RC1 with php 8.1:
This PR fixed the error on my side.