symfony / flex

Composer plugin for Symfony
MIT License
4.17k stars 183 forks source link

Decouple psr-http-message-bridge from extra.symfony.require for versions before 6.4 #1003

Closed nicolas-grekas closed 1 year ago

nicolas-grekas commented 1 year ago

Should fix issues like https://github.com/getsentry/sentry-symfony/pull/750 and https://github.com/symfony/recipes/issues/1236

Before 6.4, the bridge was not in symfony/symfony so that extra.symfony.require shouldn't apply to earlier versions.

We could improve the API and flex to handle this concern at a more generic level, but this is so rare that I suggest hard-coding the rule in flex.