Skip to content

Commit b9ffa34

Browse files
committed
feature #53734 [Notifier] Add SMSense bridge (jimiero)
This PR was squashed before being merged into the 7.1 branch. Discussion ---------- [Notifier] Add SMSense bridge | Q | A | ------------- | --- | Branch? | 7.1 | Bug fix? | no | New feature? | yes | Deprecations? | no | Issues | none | License | MIT [SMSense](https://smsense.com) is a Romanian sms provider. Commits ------- a1748debf4 [Notifier] Add SMSense bridge
2 parents 2306f3d + d04bb8f commit b9ffa34

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

Exception/UnsupportedSchemeException.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,10 @@ class UnsupportedSchemeException extends LogicException
256256
'class' => Bridge\Smsc\SmscTransportFactory::class,
257257
'package' => 'symfony/smsc-notifier',
258258
],
259+
'smsense' => [
260+
'class' => Bridge\Smsense\SmsenseTransportFactory::class,
261+
'package' => 'symfony/smsense-notifier',
262+
],
259263
'sms-factor' => [
260264
'class' => Bridge\SmsFactor\SmsFactorTransportFactory::class,
261265
'package' => 'symfony/sms-factor-notifier',

Tests/Exception/UnsupportedSchemeExceptionTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ public static function setUpBeforeClass(): void
8787
Bridge\Smsapi\SmsapiTransportFactory::class => false,
8888
Bridge\Smsbox\SmsboxTransportFactory::class => false,
8989
Bridge\Smsc\SmscTransportFactory::class => false,
90+
Bridge\Smsense\SmsenseTransportFactory::class => false,
9091
Bridge\Smsmode\SmsmodeTransportFactory::class => false,
9192
Bridge\SmsSluzba\SmsSluzbaTransportFactory::class => false,
9293
Bridge\SpotHit\SpotHitTransportFactory::class => false,

Transport.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ final class Transport
8888
Bridge\SmsBiuras\SmsBiurasTransportFactory::class,
8989
Bridge\Smsbox\SmsboxTransportFactory::class,
9090
Bridge\Smsc\SmscTransportFactory::class,
91+
Bridge\Smsense\SmsenseTransportFactory::class,
9192
Bridge\SmsFactor\SmsFactorTransportFactory::class,
9293
Bridge\Smsmode\SmsmodeTransportFactory::class,
9394
Bridge\SmsSluzba\SmsSluzbaTransportFactory::class,

0 commit comments

Comments
 (0)