Replies: 6 comments 5 replies
-
For me, the main purpose is to fix deprecations and make this lib running under upcoming php versions as long as it's feasible with small adjustments. For 8.2 and 8.3 everything is already done and no further work needed. Personally, I'm not sure, if phpcs and other steps are really necessary, as I think it's better to use the time to migrate to symfony/mailer or any other actively maintained mailing solution. What do you think about the main purpose, @alquerci, @thePanz, @connorhu? |
Beta Was this translation helpful? Give feedback.
-
Deprecation fixing. https://symfony.com/blog/the-end-of-swiftmailer “Migrating from Swiftmailer to Symfony Mailer is a relatively easy task as the concepts are the same between the two projects.” We should start work on this. |
Beta Was this translation helpful? Give feedback.
-
To reformulate with my words. Main purpose: "Supports same PHP versions as latest FriendsOfSymfony1/symfony1" In practice: For each PHP version, the test suite must pass. Where a deprecation will fail, the build. If test suite pass, there is nothing to do. |
Beta Was this translation helpful? Give feedback.
-
We should formulate it differently, without a reference to SF1. We should mention:
This should be a discussion , not an issue IMO |
Beta Was this translation helpful? Give feedback.
-
I went ahead and converted this into a discussion, hope that's alright with everyone.
Those are my thoughts too. Mainly, fix deprecations and support newer PHP versions. In that context, I think the phpcs changeset was perhaps unnecessary, making it a bit harder for others to check what actually changed in this fork with little to gain – I suppose it can make it easier to work with the codebase in the future, but (personally) I would not do much work on this fork, unless required by newer PHP versions and such.
I lean towards not having any new features in it. |
Beta Was this translation helpful? Give feedback.
-
In the context of symfony1, I'm wondering if it would be feasible to implement an alternative mailer class (that could be switched to in factories.yml) based on symfony/mailer, while keeping the current sfMailer based on Swiftmailer as is, available for those who can't or prefer not to switch. The new mailer class would essentially implement most methods of the sfMailer class, but translating them into symfony/mailer way of doing things. I think the main hurdle would be the spool delivery strategy feature but, imho, could be skipped in this mailer class as I don't think it's a feature widely used and those relying on that specifically can still stick with sfMailer+swiftmailer. For those trying to be become less dependent on symfony1 and slowly move towards the current Symfony (or just multiple components), I think this could be a step in that direction. Thoughts? |
Beta Was this translation helpful? Give feedback.
-
"Main purpose", meaning "reason for being" or "reason to be".
As a contributor, in order to avoid wasting time on things that do not contribute to the main purpose of this repository.
A visible purpose can help focus on the most important and vital issues.
The main purpose may be well visible, to avoid any confusion.
Beta Was this translation helpful? Give feedback.
All reactions