Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 046ed20

Browse filesBrowse files
committed
target version 5.1
1 parent 417b23e commit 046ed20
Copy full SHA for 046ed20

File tree

5 files changed

+11
-12
lines changed
Filter options

5 files changed

+11
-12
lines changed
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CHANGELOG
22
=========
33

4-
5.0.0
4+
5.1.0
55
-----
66

77
* Added the bridge

‎src/Symfony/Component/Notifier/Bridge/RocketChat/RocketChatOptions.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Notifier/Bridge/RocketChat/RocketChatOptions.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
use Symfony\Component\Notifier\Message\MessageOptionsInterface;
1515

1616
/**
17-
* @author Jeroen Spee <spee.jeroen@gmail.com>
17+
* @author Jeroen Spee <https://github.com/Jeroeny>
1818
*
19-
* @experimental in 5.0
19+
* @experimental in 5.1
2020
*
2121
* @see https://rocket.chat/docs/administrator-guides/integrations/
2222
*/

‎src/Symfony/Component/Notifier/Bridge/RocketChat/RocketChatTransport.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Notifier/Bridge/RocketChat/RocketChatTransport.php
+3-4Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
use Symfony\Contracts\HttpClient\HttpClientInterface;
2121

2222
/**
23-
* @author Jeroen Spee <spee.jeroen@gmail.com>
23+
* @author Jeroen Spee <https://github.com/Jeroeny>
2424
*
2525
* @internal
2626
*
27-
* @experimental in 5.0
27+
* @experimental in 5.1
2828
*/
2929
final class RocketChatTransport extends AbstractTransport
3030
{
@@ -68,8 +68,7 @@ protected function doSend(MessageInterface $message): void
6868
throw new LogicException(sprintf('The "%s" transport only supports instances of "%s" for options.', __CLASS__, RocketChatOptions::class));
6969
}
7070

71-
$options = $message->getOptions()->toArray();
72-
71+
$options = ($opts = $message->getOptions()) ? $opts->toArray() : [];
7372
if (!isset($options['channel'])) {
7473
$options['channel'] = $message->getRecipientId() ?: $this->chatChannel;
7574
}

‎src/Symfony/Component/Notifier/Bridge/RocketChat/RocketChatTransportFactory.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Notifier/Bridge/RocketChat/RocketChatTransportFactory.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
use Symfony\Component\Notifier\Transport\TransportInterface;
1818

1919
/**
20-
* @author Jeroen Spee <spee.jeroen@gmail.com>
20+
* @author Jeroen Spee <https://github.com/Jeroeny>
2121
*
22-
* @experimental in 5.0
22+
* @experimental in 5.1
2323
*/
2424
final class RocketChatTransportFactory extends AbstractTransportFactory
2525
{

‎src/Symfony/Component/Notifier/Bridge/RocketChat/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Component/Notifier/Bridge/RocketChat/composer.json
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
"authors": [
99
{
1010
"name": "Jeroen Spee",
11-
"email": "spee.jeroen@gmail.com"
11+
"homepage": "https://github.com/Jeroeny"
1212
},
1313
{
1414
"name": "Symfony Community",
1515
"homepage": "https://symfony.com/contributors"
1616
}
1717
],
1818
"require": {
19-
"php": "^7.2.9",
19+
"php": "^7.2.5",
2020
"symfony/http-client": "^4.3|^5.0",
2121
"symfony/notifier": "^5.0"
2222
},
@@ -29,7 +29,7 @@
2929
"minimum-stability": "dev",
3030
"extra": {
3131
"branch-alias": {
32-
"dev-master": "5.0-dev"
32+
"dev-master": "5.1-dev"
3333
}
3434
}
3535
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.