Skip to content

Commit a8e7d90

Browse files
phpfourfabpot
authored andcommitted
Adds Zulip notifier bridge
1 parent 4e6e6d9 commit a8e7d90

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@ CHANGELOG
55
-----
66

77
* [BC BREAK] The `TransportInterface::send()` and `AbstractTransport::doSend()` methods changed to return a `?SentMessage` instance instead of `void`.
8+
* Added the Zulip notifier bridge
89

910
5.1.0
1011
-----
1112

12-
* Added the Mattermost notifier bridge
13+
* Added the Mattermost notifier bridge
1314
* [BC BREAK] The `ChatMessage::fromNotification()` method's `$recipient` and `$transport`
1415
arguments were removed.
1516
* [BC BREAK] The `EmailMessage::fromNotification()` and `SmsMessage::fromNotification()`

Exception/UnsupportedSchemeException.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ class UnsupportedSchemeException extends LogicException
6262
'class' => Bridge\Sinch\SinchTransportFactory::class,
6363
'package' => 'symfony/sinch-notifier',
6464
],
65+
'zulip' => [
66+
'class' => Bridge\Zulip\ZulipTransportFactory::class,
67+
'package' => 'symfony/zulip-notifier',
68+
],
6569
];
6670

6771
/**

Transport.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
use Symfony\Component\Notifier\Bridge\Slack\SlackTransportFactory;
2222
use Symfony\Component\Notifier\Bridge\Telegram\TelegramTransportFactory;
2323
use Symfony\Component\Notifier\Bridge\Twilio\TwilioTransportFactory;
24+
use Symfony\Component\Notifier\Bridge\Zulip\ZulipTransportFactory;
2425
use Symfony\Component\Notifier\Exception\UnsupportedSchemeException;
2526
use Symfony\Component\Notifier\Transport\Dsn;
2627
use Symfony\Component\Notifier\Transport\FailoverTransport;
@@ -50,6 +51,7 @@ class Transport
5051
FirebaseTransportFactory::class,
5152
SinchTransportFactory::class,
5253
FreeMobileTransportFactory::class,
54+
ZulipTransportFactory::class,
5355
];
5456

5557
private $factories;

0 commit comments

Comments
 (0)