Skip to content

Commit 6b52625

Browse files
minor symfony#60850 [Mailer] remove useless @legacy annotation (xabbuh)
This PR was merged into the 6.4 branch. Discussion ---------- [Mailer] remove useless `@legacy` annotation | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT this was added in symfony#36148 and the deprecation was later on reverted in symfony#41380 Commits ------- 4b6be4a remove useless `@legacy` annotation
2 parents cdedbab + 4b6be4a commit 6b52625

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/Symfony/Component/Mailer/Bridge/Mailgun/Tests/Transport/MailgunApiTransportTest.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,14 +98,8 @@ public function testCustomHeader()
9898
$this->assertEquals('amp-html-value', $payload['amp-html']);
9999
}
100100

101-
/**
102-
* @legacy
103-
*/
104101
public function testPrefixHeaderWithH()
105102
{
106-
$json = json_encode(['foo' => 'bar']);
107-
$deliveryTime = (new \DateTimeImmutable('2020-03-20 13:01:00'))->format(\DateTimeInterface::RFC2822);
108-
109103
$email = new Email();
110104
$email->getHeaders()->addTextHeader('h:bar', 'bar-value');
111105

0 commit comments

Comments
 (0)