Skip to content

Commit 53a6a34

Browse files
ahmedghanem00fabpot
authored andcommitted
[Notifier] Add GoIP bridge
1 parent f9e32f2 commit 53a6a34

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
@@ -92,6 +92,10 @@ class UnsupportedSchemeException extends LogicException
9292
'class' => Bridge\Gitter\GitterTransportFactory::class,
9393
'package' => 'symfony/gitter-notifier',
9494
],
95+
'goip' => [
96+
'class' => Bridge\GoIP\GoIPTransportFactory::class,
97+
'package' => 'symfony/goip-notifier',
98+
],
9599
'googlechat' => [
96100
'class' => Bridge\GoogleChat\GoogleChatTransportFactory::class,
97101
'package' => 'symfony/google-chat-notifier',

Tests/Exception/UnsupportedSchemeExceptionTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ public static function setUpBeforeClass(): void
4545
Bridge\FreeMobile\FreeMobileTransportFactory::class => false,
4646
Bridge\GatewayApi\GatewayApiTransportFactory::class => false,
4747
Bridge\Gitter\GitterTransportFactory::class => false,
48+
Bridge\GoIP\GoIPTransportFactory::class => false,
4849
Bridge\GoogleChat\GoogleChatTransportFactory::class => false,
4950
Bridge\Infobip\InfobipTransportFactory::class => false,
5051
Bridge\Iqsms\IqsmsTransportFactory::class => false,
@@ -172,6 +173,7 @@ public static function messageWhereSchemeIsPartOfSchemeToPackageMapProvider(): \
172173
yield ['twitter', 'symfony/twitter-notifier'];
173174
yield ['zendesk', 'symfony/zendesk-notifier'];
174175
yield ['zulip', 'symfony/zulip-notifier'];
176+
yield ['goip', 'symfony/goip-notifier'];
175177
}
176178

177179
/**

Transport.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ final class Transport
4747
Bridge\FreeMobile\FreeMobileTransportFactory::class,
4848
Bridge\GatewayApi\GatewayApiTransportFactory::class,
4949
Bridge\Gitter\GitterTransportFactory::class,
50+
Bridge\GoIP\GoIPTransportFactory::class,
5051
Bridge\GoogleChat\GoogleChatTransportFactory::class,
5152
Bridge\Infobip\InfobipTransportFactory::class,
5253
Bridge\Iqsms\IqsmsTransportFactory::class,

0 commit comments

Comments
 (0)