8000 Fixed Coding Standards · symfony/symfony@6fc3cef · GitHub
[go: up one dir, main page]

Skip to content

Commit 6fc3cef

Browse files
committed
Fixed Coding Standards
Removed changes to composer.json
1 parent d647826 commit 6fc3cef

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

src/Symfony/Component/Notifier/Bridge/Matrix/MatrixTransport.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ protected function doSend(MessageInterface $message): SentMessage
5454
throw new UnsupportedMessageTypeException(__CLASS__, ChatMessage::class, $message);
5555
}
5656

57-
if (null === $message->getRecipientId()){
57+
if (null === $message->getRecipientId()) {
5858
throw new LogicException('Recipient id is required.');
5959
}
6060

61-
$recipient = match (mb_substr($message->getRecipientId(), 0, 1)){
61+
$recipient = match (mb_substr($message->getRecipientId(), 0, 1)) {
6262
"@" => $this->getDirectMessageChannel($message->getRecipientId()),
6363
"!" => $message->getRecipientId(),
6464
"#" => $this->getRoomFromAlias($message->getRecipientId()),

src/Symfony/Component/Notifier/Bridge/Matrix/MatrixTransportFactory.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
*/
2121
class MatrixTransportFactory extends AbstractTransportFactory
2222
{
23-
2423
public function create(Dsn $dsn): MatrixTransport
2524
{
2625
$scheme = $dsn->getScheme();

src/Symfony/Component/Notifier/Bridge/Matrix/composer.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"name": "symfony/matrix-notifier",
3-
"version": "1.1",
43
"type": "symfony-notifier-bridge",
54
"description": "Symfony Matrix Synapse Notifier Bridge",
65
"keywords": ["matrix", "notifier"],
@@ -31,8 +30,5 @@
3130
"/Tests/"
3231
]
3332
},
34-
"replace": {
35-
"symfony/matrix-notifier": "1.0"
36-
},
3733
"minimum-stability": "dev"
3834
}

0 commit comments

Comments
 (0)
0