8000 minor #35999 [Mime] remove phpdoc mentioning Utf8AddressEncoder (dmai… · simPod/symfony@14b825b · GitHub
[go: up one dir, main page]

Skip to content

Commit 14b825b

Browse files
committed
minor symfony#35999 [Mime] remove phpdoc mentioning Utf8AddressEncoder (dmaicher)
This PR was submitted for the 4.3 branch but it was merged into the 4.4 branch instead. Discussion ---------- [Mime] remove phpdoc mentioning Utf8AddressEncoder This class does not exist | Q | A | ------------- | --- | Branch? | 4.3 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - I'm currently migrating from Swiftmailer fo Symfony mailer and stumbled upon this exception: https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Mime/Encoder/IdnAddressEncoder.php#L44 The phpdoc of the class is a bit confusing/wrong. Seems to be a copy&paste leftover from Swiftmailer: https://github.com/swiftmailer/swiftmailer/blob/master/lib/classes/Swift/AddressEncoder/IdnAddressEncoder.php#L19 Commits ------- a85fb6c [Mime] remove phpdoc mentioning Utf8AddressEncoder
2 parents c1ed100 + a85fb6c commit 14b825b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Symfony/Component/Mime/Encoder/IdnAddressEncoder.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@
2020
* SMTP servers.
2121
*
2222
* This encoder does not support email addresses with non-ASCII characters in
23-
* local-part (the substring before @). To send to such addresses, use
24-
* Utf8AddressEncoder together with SmtpUtf8Handler. Your outbound SMTP server must support
25-
* the SMTPUTF8 extension.
23+
* local-part (the substring before @).
2624
*
2725
* @author Christian Schmidt
2826
*/

0 commit comments

Comments
 (0)
0