Skip to content

Commit

Permalink
[Notifier] Add LINE Bot bridge
Browse files Browse the repository at this point in the history
  • Loading branch information
pan93412 authored and fabpot committed Oct 14, 2024
1 parent b26a9ea commit ccf1571
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Exception/UnsupportedSchemeException.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ class UnsupportedSchemeException extends LogicException
'class' => Bridge\LightSms\LightSmsTransportFactory::class,
'package' => 'symfony/light-sms-notifier',
],
'linebot' => [
'class' => Bridge\LineBot\LineBotTransportFactory::class,
'package' => 'symfony/line-bot-notifier',
],
'linenotify' => [
'class' => Bridge\LineNotify\LineNotifyTransportFactory::class,
'package' => 'symfony/line-notify-notifier',
Expand Down
2 changes: 2 additions & 0 deletions Tests/Exception/UnsupportedSchemeExceptionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public static function setUpBeforeClass(): void
Bridge\Isendpro\IsendproTransportFactory::class => false,
Bridge\KazInfoTeh\KazInfoTehTransportFactory::class => false,
Bridge\LightSms\LightSmsTransportFactory::class => false,
Bridge\LineBot\LineBotTransportFactory::class => false,
Bridge\LineNotify\LineNotifyTransportFactory::class => false,
Bridge\LinkedIn\LinkedInTransportFactory::class => false,
Bridge\Lox24\Lox24TransportFactory::class => false,
Expand Down Expand Up @@ -147,6 +148,7 @@ public static function messageWhereSchemeIsPartOfSchemeToPackageMapProvider(): \
yield ['isendpro', 'symfony/isendpro-notifier'];
yield ['kaz-info-teh', 'symfony/kaz-info-teh-notifier'];
yield ['lightsms', 'symfony/light-sms-notifier'];
yield ['linebot', 'symfony/line-bot-notifier'];
yield ['linenotify', 'symfony/line-notify-notifier'];
yield ['linkedin', 'symfony/linked-in-notifier'];
yield ['lox24', 'symfony/lox24-notifier'];
Expand Down

0 comments on commit ccf1571

Please sign in to comment.