You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug #58764 [Mime] Don't require passing the encoder name to TextPart (javiereguiluz)
This PR was merged into the 7.2 branch.
Discussion
----------
[Mime] Don't require passing the encoder name to `TextPart`
| Q | A
| ------------- | ---
| Branch? | 7.2
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Issues | -
| License | MIT
While preparing this blog post: https://symfony.com/blog/new-in-symfony-7-2-mime-improvements
I realized that it's unnecessary to pass the encoder name as the first argument of `TextPart::addEncoder()` because the `ContentEncoderInterface` already requires defining a `getName()` method.
Commits
-------
2ce04c8 [Mime] Don't require passig the encoder name to TextPart
$this->expectExceptionMessage('The encoding must be one of "quoted-printable", "base64", "8bit", "upper_encoder" ("this_encoding_does_not_exist" given).');
0 commit comments