Skip to content

Commit 2ab842a

Browse files
plotkabytesfabpot
authored andcommitted
Added redlink notifier
1 parent 63f70e4 commit 2ab842a

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
@@ -188,6 +188,10 @@ class UnsupportedSchemeException extends LogicException
188188
'class' => Bridge\Pushover\PushoverTransportFactory::class,
189189
'package' => 'symfony/pushover-notifier',
190190
],
191+
'redlink' => [
192+
'class' => Bridge\Redlink\RedlinkTransportFactory::class,
193+
'package' => 'symfony/redlink-notifier',
194+
],
191195
'ringcentral' => [
192196
'class' => Bridge\RingCentral\RingCentralTransportFactory::class,
193197
'package' => 'symfony/ring-central-notifier',

Tests/Exception/UnsupportedSchemeExceptionTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ public static function setUpBeforeClass(): void
7070
Bridge\Plivo\PlivoTransportFactory::class => false,
7171
Bridge\Pushover\PushoverTransportFactory::class => false,
7272
Bridge\RingCentral\RingCentralTransportFactory::class => false,
73+
Bridge\Redlink\RedlinkTransportFactory::class => false,
7374
Bridge\RocketChat\RocketChatTransportFactory::class => false,
7475
Bridge\Sendberry\SendberryTransportFactory::class => false,
7576
Bridge\Sendinblue\SendinblueTransportFactory::class => false,
@@ -146,6 +147,7 @@ public static function messageWhereSchemeIsPartOfSchemeToPackageMapProvider(): \
146147
yield ['onesignal', 'symfony/one-signal-notifier'];
147148
yield ['ovhcloud', 'symfony/ovh-cloud-notifier'];
148149
yield ['plivo', 'symfony/plivo-notifier'];
150+
yield ['redlink', 'symfony/redlink-notifier'];
149151
yield ['ringcentral', 'symfony/ring-central-notifier'];
150152
yield ['rocketchat', 'symfony/rocket-chat-notifier'];
151153
yield ['sendberry', 'symfony/sendberry-notifier'];

Transport.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ final class Transport
7171
Bridge\PagerDuty\PagerDutyTransportFactory::class,
7272
Bridge\Plivo\PlivoTransportFactory::class,
7373
Bridge\Pushover\PushoverTransportFactory::class,
74+
Bridge\Redlink\RedlinkTransportFactory::class,
7475
Bridge\RingCentral\RingCentralTransportFactory::class,
7576
Bridge\RocketChat\RocketChatTransportFactory::class,
7677
Bridge\Sendberry\SendberryTransportFactory::class,

0 commit comments

Comments
 (0)