Skip to content
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

Replace swiftmailer with symfony mailer #6549

Conversation

alexander-schranz
Copy link
Member

@alexander-schranz alexander-schranz commented Apr 21, 2022

Q A
Bug fix?
New feature? yes
BC breaks? no
Deprecations? no
Fixed tickets fixes #
Related issues/PRs #6513
License MIT
Documentation PR sulu/sulu-docs#

What's in this PR?

Replace swiftmailer with symfony mailer.

Why?

To support symfony 6 in the future.

To Do

@alexander-schranz alexander-schranz added the DX Affecting the end developer label Apr 21, 2022
@alexander-schranz alexander-schranz force-pushed the feature/replace-swiftmailer-with-symfony-mailer branch from e1b82a8 to 81271db Compare April 21, 2022 15:33
@alexander-schranz alexander-schranz marked this pull request as ready for review April 22, 2022 10:16
@alexander-schranz alexander-schranz force-pushed the feature/replace-swiftmailer-with-symfony-mailer branch from 3c72465 to 84211ae Compare April 22, 2022 11:10
Comment on lines +29 to +32
# SwiftMailer was removed and con not be analyzed by phpstan anymore
- %currentWorkingDirectory%/src/Sulu/Bundle/SecurityBundle/Tests/Functional/Controller/LegacyResettingControllerTest.php
- %currentWorkingDirectory%/src/Sulu/Bundle/MarkupBundle/Listener/SwiftMailerListener.php
- %currentWorkingDirectory%/src/Sulu/Bundle/MarkupBundle/Tests/Unit/Listener/SwiftMailerListenerTest.php
Copy link
Member Author

@alexander-schranz alexander-schranz Apr 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PHPStan can not analyze this as SwiftMailer is not installed here for Symfony 6 compatibility:

Bildschirmfoto 2022-04-22 um 13 10 06

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@wachterjohannes wachterjohannes merged commit 1fafece into sulu:2.5 Apr 25, 2022
@alexander-schranz alexander-schranz mentioned this pull request Apr 25, 2022
84 tasks
@alexander-schranz alexander-schranz deleted the feature/replace-swiftmailer-with-symfony-mailer branch May 4, 2022 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DX Affecting the end developer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants