-
Notifications
You must be signed in to change notification settings - Fork 25
Mentioning Symfony Mailer requirement in v2.0.0 #126
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
My plan would be to copy this line to all email-related functions. Questions: 1. Is `^1.6` right? 2. The `mailer` configuration was never documented anywhere. But in v1.6, Swift Mailer is the default anyway, right? So this configuration is only relevant for people who still have v1.6 but use Symfony Mailer? And in this case, the better advice is to upgrade to v2, rather than configuring `mailer`?
Do you think we can move this to the top of the documentation page ?, I'm not sure if this is the best place to remember something like that. |
I thought about that too. My counter-arguments were:
But I'm not 100% sure myself ;-) What/where would you suggest? |
I mean the users, not the maintainers.
After reading your own counterarguments, I still think it's best to just say it once. |
OK, then some box at the top with the current text. But on each function a link to this box?! (In the end, the link will be almost as long as the entire text... ;-) |
No, no link. Having to mention compatibility with specific versions of other packages in the method docblocks is something I don't like at all. I think a better solution would be to nip the problem in the bud and directly block the installation of version 2.0 if you have swift mailer installed. As far as I know, composer is smart enough in those scenarios to install the closest lower version that does not include a conflicts directive. Or I understand that Codeception has a "ConflictsWith" interface to handle these cases. @Naktibalda What do you think? |
Codeception has ConflictsWithModule interface which is not applicable in this case.
|
Which other packages? We're only talking about this module's versions. The current text in this PR is valid "forever" (so no maintenance problem). But more important: @TavoNiievez I don't think your plan is a good solution. Reasons:
So my suggestions are (in that order):
But this entire question is not important enough for ongoing discussion! Whichever solution it'll gonna be, the time spent discussing it is already longer than the time it'll take to implement it ;-) |
@ThomasLandauer Thank you for your patience in this matter. |
@TavoNiievez Never mind :-) |
Follow-up of #125. My plan would be to copy this line to all email-related functions. Questions:
^1.6
right?mailer
configuration was never documented anywhere. But in v1.6, Swift Mailer is the default anyway, right? So this configuration is only relevant for people who still have v1.6 but use Symfony Mailer? And in this case, the better advice is to upgrade to v2, rather than configuringmailer
?