8000 bug #53118 [Notifier] add Bluesky to the `UnsupportedSchemeException`… · symfony/symfony@c468b5f · GitHub
[go: up one dir, main page]

Skip to content

Commit c468b5f

Browse files
committed
bug #53118 [Notifier] add Bluesky to the UnsupportedSchemeException (xabbuh)
This PR was merged into the 7.1 branch. Discussion ---------- [Notifier] add Bluesky to the `UnsupportedSchemeException` | Q | A | ------------- | --- | Branch? | 7.1 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | | License | MIT Commits ------- b87cbe2 add Bluesky to the UnsupportedSchemeException
2 parents 8b14fb3 + b87cbe2 commit c468b5f

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/Symfony/Component/Notifier/Exception/UnsupportedSchemeException.php

+4
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ class UnsupportedSchemeException extends LogicException
2828
'class' => Bridge\Bandwidth\BandwidthTransportFactory::class,
2929
'package' => 'symfony/bandwidth-notifier',
3030
],
31+
'bluesky' => [
32+
'class' => Bridge\Bluesky\BlueskyTransportFactory::class,
33+
'package' => 'symfony/bluesky-notifier',
34+
],
3135
'brevo' => [
3236
'class' => Bridge\Brevo\BrevoTransportFactory::class,
3337
'package' => 'symfony/brevo-notifier',

src/Symfony/Component/Notifier/Tests/Exception/UnsupportedSchemeExceptionTest.php

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ public static function setUpBeforeClass(): void
2929
Bridge\AllMySms\AllMySmsTransportFactory::class => false,
3030
Bridge\AmazonSns\AmazonSnsTransportFactory::class => false,
3131
Bridge\Bandwidth\BandwidthTransportFactory::class => false,
32+
Bridge\Bluesky\BlueskyTransportFactory::class => false,
3233
Bridge\Brevo\BrevoTransportFactory::class => false,
3334
Bridge\Chatwork\ChatworkTransportFactory::class => false,
3435
Bridge\Clickatell\ClickatellTransportFactory::class => false,
@@ -117,6 +118,7 @@ public static function messageWhereSchemeIsPartOfSchemeToPackageMapProvider(): \
117118
yield ['allmysms', 'symfony/all-my-sms-notifier'];
118119
yield ['sns', 'symfony/amazon-sns-notifier'];
119120
yield ['bandwidth', 'symfony/bandwidth-notifier'];
121+
yield ['bluesky', 'symfony/bluesky-notifier'];
120122
yield ['brevo', 'symfony/brevo-notifier'];
121123
yield ['clickatell', 'symfony/clickatell-notifier'];
122124
yield ['clicksend', 'symfony/click-send-notifier'];

0 commit comments

Comments
 (0)
0