Skip to content

Commit 14b5092

Browse files
committed
feature #45195 [Notifier] Add Sendberry notifier bridge (StaffNowa)
This PR was squashed before being merged into the 6.1 branch. Discussion ---------- [Notifier] Add Sendberry notifier bridge | Q | A | ------------- | --- | Branch? | 6.1 | Bug fix? | no | New feature? | yes | Deprecations? |no | Tickets | | License | MIT | Doc PR | [#16452](symfony/symfony-docs#16452) | Recipe PR | symfony/recipes#1054 Sendberry notifier https://www.sendberry.com/ Commits ------- c82ec18061 [Notifier] Add Sendberry notifier bridge
2 parents bcd9c8c + 6f057b7 commit 14b5092

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

Exception/UnsupportedSchemeException.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,10 @@ class UnsupportedSchemeException extends LogicException
136136
'class' => Bridge\RocketChat\RocketChatTransportFactory::class,
137137
'package' => 'symfony/rocket-chat-notifier',
138138
],
139+
'sendberry' => [
140+
'class' => Bridge\Sendberry\SendberryTransportFactory::class,
141+
'package' => 'symfony/sendberry-notifier',
142+
],
139143
'sendinblue' => [
140144
'class' => Bridge\Sendinblue\SendinblueTransportFactory::class,
141145
'package' => 'symfony/sendinblue-notifier',

Tests/Exception/UnsupportedSchemeExceptionTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ public function messageWhereSchemeIsPartOfSchemeToPackageMapProvider(): \Generat
156156
yield ['onesignal', 'symfony/one-signal-notifier'];
157157
yield ['ovhcloud', 'symfony/ovh-cloud-notifier'];
158158
yield ['rocketchat', 'symfony/rocket-chat-notifier'];
159+
yield ['sendberry', 'symfony/sendberry-notifier'];
159160
yield ['sendinblue', 'symfony/sendinblue-notifier'];
160161
yield ['sinch', 'symfony/sinch-notifier'];
161162
yield ['slack', 'symfony/slack-notifier'];

Transport.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
use Symfony\Component\Notifier\Bridge\OrangeSms\OrangeSmsTransportFactory;
3636
use Symfony\Component\Notifier\Bridge\OvhCloud\OvhCloudTransportFactory;
3737
use Symfony\Component\Notifier\Bridge\RocketChat\RocketChatTransportFactory;
38+
use Symfony\Component\Notifier\Bridge\Sendberry\SendberryTransportFactory;
3839
use Symfony\Component\Notifier\Bridge\Sendinblue\SendinblueTransportFactory;
3940
use Symfony\Component\Notifier\Bridge\Sinch\SinchTransportFactory;
4041
use Symfony\Component\Notifier\Bridge\Slack\SlackTransportFactory;
@@ -90,6 +91,7 @@ final class Transport
9091
OrangeSmsTransportFactory::class,
9192
OvhCloudTransportFactory::class,
9293
RocketChatTransportFactory::class,
94+
SendberryTransportFactory::class,
9395
SendinblueTransportFactory::class,
9496
SinchTransportFactory::class,
9597
SlackTransportFactory::class,

0 commit comments

Comments
 (0)