-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Messenger] Do not require doctrine/messenger #36740
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
Comments
@tyx this is because prior to #35422 Since that it requires |
dbal was a dev requirement before ! As doctrine transport was embedded but not mandatory. The problem really came when we splitted transport in different package and add doctrine one as requirement of messenger. |
/cc @Nyholm |
Thank you for this issue. That is something I did miss before. To make it work as it did in 5.0, I think we should move the |
Hi @Nyholm can I make the PR to help ? Or do you prefer make it on your own ? |
No no no. Please make a PR :) |
This PR was merged into the 5.1-dev branch. Discussion ---------- [Messenger] Move doctrine deps to require-dev | Q | A | ------------- | --- | Branch? | master | Bug fix? | yes | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | Fix #36740 | License | MIT To avoid requiring all doctrine stuff when require symfony/messenger (that require symfony/doctrine-messenger to ensure BC) Commits ------- b73b26e Move doctrine deps to require-dev
Symfony version(s) affected: 5.1.0@beta
Description
Since #35422 we split transport in dedicated package. Nice addition ! But we require doctrine/messenger by default ... and this one will install doctrine dbal.
I have not dbal installed for now and here are the new package installed:

I guess we made this change to keep BC. But it is very annoying. Before this change I had only doctrine messenger part, now I have all doctrine stuff.
How to reproduce
Install symfony/messenger without doctrine pack.
I should admit I have no idea how fix this issue.
The text was updated successfully, but these errors were encountered: