Skip to content

Commit ff357d8

Browse files
[7.0] Remove remaining deprecated code paths
1 parent 2c244bb commit ff357d8

File tree

4 files changed

+5
-9
lines changed

4 files changed

+5
-9
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
CHANGELOG
22
=========
33

4+
7.0
5+
---
6+
7+
* Remove the OhMySmtp bridge in favor of the MailPace bridge
8+
49
6.3
510
---
611

Exception/UnsupportedSchemeException.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@ class UnsupportedSchemeException extends LogicException
4444
'class' => Bridge\Mailchimp\Transport\MandrillTransportFactory::class,
4545
'package' => 'symfony/mailchimp-mailer',
4646
],
47-
'ohmysmtp' => [
48-
'class' => Bridge\OhMySmtp\Transport\OhMySmtpTransportFactory::class,
49-
'package' => 'symfony/oh-my-smtp-mailer',
50-
],
5147
'postmark' => [
5248
'class' => Bridge\Postmark\Transport\PostmarkTransportFactory::class,
5349
'package' => 'symfony/postmark-mailer',

Tests/Exception/UnsupportedSchemeExceptionTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
use Symfony\Component\Mailer\Bridge\MailerSend\Transport\MailerSendTransportFactory;
2121
use Symfony\Component\Mailer\Bridge\Mailgun\Transport\MailgunTransportFactory;
2222
use Symfony\Component\Mailer\Bridge\Mailjet\Transport\MailjetTransportFactory;
23-
use Symfony\Component\Mailer\Bridge\OhMySmtp\Transport\OhMySmtpTransportFactory;
2423
use Symfony\Component\Mailer\Bridge\Postmark\Transport\PostmarkTransportFactory;
2524
use Symfony\Component\Mailer\Bridge\Sendgrid\Transport\SendgridTransportFactory;
2625
use Symfony\Component\Mailer\Bridge\Sendinblue\Transport\SendinblueTransportFactory;
@@ -42,7 +41,6 @@ public static function setUpBeforeClass(): void
4241
MailgunTransportFactory::class => false,
4342
MailjetTransportFactory::class => false,
4443
MandrillTransportFactory::class => false,
45-
OhMySmtpTransportFactory::class => false,
4644
PostmarkTransportFactory::class => false,
4745
SendgridTransportFactory::class => false,
4846
SendinblueTransportFactory::class => false,
@@ -71,7 +69,6 @@ public static function messageWhereSchemeIsPartOfSchemeToPackageMapProvider(): \
7169
yield ['mailgun', 'symfony/mailgun-mailer'];
7270
yield ['mailjet', 'symfony/mailjet-mailer'];
7371
yield ['mandrill', 'symfony/mailchimp-mailer'];
74-
yield ['ohmysmtp', 'symfony/oh-my-smtp-mailer'];
7572
yield ['postmark', 'symfony/postmark-mailer'];
7673
yield ['sendgrid', 'symfony/sendgrid-mailer'];
7774
yield ['sendinblue', 'symfony/sendinblue-mailer'];

Transport.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
use Symfony\Component\Mailer\Bridge\MailerSend\Transport\MailerSendTransportFactory;
2121
use Symfony\Component\Mailer\Bridge\Mailgun\Transport\MailgunTransportFactory;
2222
use Symfony\Component\Mailer\Bridge\Mailjet\Transport\MailjetTransportFactory;
23-
use Symfony\Component\Mailer\Bridge\OhMySmtp\Transport\OhMySmtpTransportFactory;
2423
use Symfony\Component\Mailer\Bridge\Postmark\Transport\PostmarkTransportFactory;
2524
use Symfony\Component\Mailer\Bridge\Sendgrid\Transport\SendgridTransportFactory;
2625
use Symfony\Component\Mailer\Bridge\Sendinblue\Transport\SendinblueTransportFactory;
@@ -51,7 +50,6 @@ final class Transport
5150
MailgunTransportFactory::class,
5251
MailjetTransportFactory::class,
5352
MandrillTransportFactory::class,
54-
OhMySmtpTransportFactory::class,
5553
PostmarkTransportFactory::class,
5654
SendgridTransportFactory::class,
5755
SendinblueTransportFactory::class,

0 commit comments

Comments
 (0)