Skip to content

[DependencyInjection] PSR Container dependency version fix for 5.3 & 5.4 #44586

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

Merged
merged 1 commit into from
Dec 13, 2021

Conversation

Nek-
Copy link
Contributor

@Nek- Nek- commented Dec 13, 2021

Q A
Branch? 5.3 / 5.4
Bug fix? somehow
New feature? no
Deprecations? no
License MIT

This problem is already solved on Sf 6.0 branch and also on the component itself but for 5.4 and 5.3 if you install with --prefer-lowest for symfony/symfony package, it will install a wrong version of psr container.

Updated from #44561 with @fabpot feedbacks.

@derrabus see the correct version here: https://github.com/symfony/symfony/blob/5.3/src/Symfony/Component/DependencyInjection/composer.json#L20

@carsonbot carsonbot added this to the 5.3 milestone Dec 13, 2021
@derrabus
Copy link
Member

if you install with --prefer-lowest for symfony/symfony package, it will install a wrong version of psr container.

But… you don't depend on symfony/symfony in your projects, are you? 🙃

Anyway, this change looks correct.

@carsonbot carsonbot changed the title PSR Container dependency version fix for 5.3 & 5.4 [DependencyInjection] PSR Container dependency version fix for 5.3 & 5.4 Dec 13, 2021
@Nek-
Copy link
Contributor Author

Nek- commented Dec 13, 2021

@derrabus it can be convenient for testing.

@derrabus
Copy link
Member

No, trust me on this. Please don't.

@derrabus
Copy link
Member

Thank you @Nek-.

@derrabus derrabus merged commit 2523001 into symfony:5.3 Dec 13, 2021
@Nek- Nek- deleted the patch-2 branch December 13, 2021 09:37
Nek- added a commit to Nek-/Melodiia that referenced this pull request Dec 17, 2021
This was a fix due to an issue inside Sf 5.3, fixed by
symfony/symfony#44586
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants