8000 [Notifier] CS fix · symfony/symfony@29d62df · GitHub
[go: up one dir, main page]

Skip to content

Commit 29d62df

Browse files
[Notifier] CS fix
1 parent 3741b06 commit 29d62df

File tree

4 files changed

+19
-19
lines changed

4 files changed

+19
-19
lines changed

src/Symfony/Component/Notifier/Bridge/Infobip/Tests/InfobipTransportFactoryTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
final class InfobipTransportFactoryTest extends TestCase
2121
{
22- 10000
public function testCreateWithDsn(): void
22+
public function testCreateWithDsn()
2323
{
2424
$factory = new InfobipTransportFactory();
2525

@@ -30,7 +30,7 @@ public function testCreateWithDsn(): void
3030
$this->assertSame('infobip://host.test?from=0611223344', (string) $transport);
3131
}
3232

33-
public function testCreateWithNoFromThrowsMalformed(): void
33+
public function testCreateWithNoFromThrowsMalformed()
3434
{
3535
$factory = new InfobipTransportFactory();
3636

@@ -40,7 +40,7 @@ public function testCreateWithNoFromThrowsMalformed(): void
4040
$factory->create(Dsn::fromString($dsnIncomplete));
4141
}
4242

43-
public function testSupportsInfobipScheme(): void
43+
public function testSupportsInfobipScheme()
4444
{
4545
$factory = new InfobipTransportFactory();
4646

@@ -51,7 +51,7 @@ public function testSupportsInfobipScheme(): void
5151
$this->assertFalse($factory->supports(Dsn::fromString($dsnUnsupported)));
5252
}
5353

54-
public function testNonInfobipSchemeThrows(): void
54+
public function testNonInfobipSchemeThrows()
5555
{
5656
$factory = new InfobipTransportFactory();
5757

src/Symfony/Component/Notifier/Bridge/Infobip/Tests/InfobipTransportTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,22 @@
2020

2121
final class InfobipTransportTest extends TestCase
2222
{
23-
public function testToStringContainsProperties(): void
23+
public function testToStringContainsProperties()
2424
{
2525
$transport = $this->getTransport();
2626

2727
$this->assertSame('infobip://host.test?from=0611223344', (string) $transport);
2828
}
2929

30-
public function testSupportsMessageInterface(): void
30+
public function testSupportsMessageInterface()
3131
{
3232
$transport = $this->getTransport();
3333

3434
$this->assertTrue($transport->supports(new SmsMessage('0611223344', 'Hello!')));
3535
$this->assertFalse($transport->supports($this->createMock(MessageInterface::class)));
3636
}
3737

38-
public function testSendNonSmsMessageThrowsException(): void
38+
public function testSendNonSmsMessageThrowsException()
3939
{
4040
$transport = $this->getTransport();
4141

src/Symfony/Component/Notifier/Bridge/LinkedIn/Tests/LinkedInTransportFactoryTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
final class LinkedInTransportFactoryTest extends TestCase
1212
{
13-
public function testCreateWithDsn(): void
13+
public function testCreateWithDsn()
1414
{
1515
$factory = new LinkedInTransportFactory();
1616

@@ -21,15 +21,15 @@ public function testCreateWithDsn(): void
2121
$this->assertSame('linkedin://testHost', (string) $transport);
2222
}
2323

24-
public function testSupportsLinkedinScheme(): void
24+
public function testSupportsLinkedinScheme()
2525
{
2626
$factory = new LinkedInTransportFactory();
2727

2828
$this->assertTrue($factory->supports(Dsn::fromString('linkedin://host/path')));
2929
$this->assertFalse($factory->supports(Dsn::fromString('somethingElse://host/path')));
3030
}
3131

32-
public function testNonLinkedinSchemeThrows(): void
32+
public function testNonLinkedinSchemeThrows()
3333
{
3434
$factory = new L 57AE inkedInTransportFactory();
3535

@@ -39,7 +39,7 @@ public function testNonLinkedinSchemeThrows(): void
3939
$factory->create(Dsn::fromString($dsn));
4040
}
4141

42-
public function testIncompleteDsnMissingUserThrows(): void
42+
public function testIncompleteDsnMissingUserThrows()
4343
{
4444
$factory = new LinkedInTransportFactory();
4545

src/Symfony/Component/Notifier/Bridge/LinkedIn/Tests/LinkedInTransportTest.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,20 @@
1616

1717
final class LinkedInTransportTest extends TestCase
1818
{
19-
public function testToString(): void
19+
public function testToString()
2020
{
2121
$this->assertSame(sprintf('linkedin://host.test'), (string) $this->getTransport());
2222
}
2323

24-
public function testSupportsChatMessage(): void
24+
public function testSupportsChatMessage()
2525
{
2626
$transport = $this->getTransport();
2727

2828
$this->assertTrue($transport->supports(new ChatMessage('testChatMessage')));
2929
$this->assertFalse($transport->supports($this->createMock(MessageInterface::class)));
3030
}
3131

32-
public function testSendNonChatMessageThrows(): void
32+
public function testSendNonChatMessageThrows()
3333
{
3434
$this->expectException(LogicException::class);
3535

@@ -38,7 +38,7 @@ public function testSendNonChatMessageThrows(): void
3838
$transport->send($this->createMock(MessageInterface::class));
3939
}
4040

41-
public function testSendWithEmptyArrayResponseThrows(): void
41+
public function testSendWithEmptyArrayResponseThrows()
4242
{
4343
$this->expectException(TransportException::class);
4444

@@ -59,7 +59,7 @@ public function testSendWithEmptyArrayResponseThrows(): void
5959
$transport->send(new ChatMessage('testMessage'));
6060
}
6161

62-
public function testSendWithErrorResponseThrows(): void
62+
public function testSendWithErrorResponseThrows()
6363
{
6464
$this->expectException(TransportException::class);
6565
$this->expectExceptionMessage('testErrorCode');
@@ -82,7 +82,7 @@ public function testSendWithErrorResponseThrows(): void
8282
$transport->send(new ChatMessage('testMessage'));
8383
}
8484

85-
public function testSendWithOptions(): void
85+
public function testSendWithOptions()
8686
{
8787
$message = 'testMessage';
8888

@@ -126,7 +126,7 @@ public function testSendWithOptions(): void
126126
$transport->send(new ChatMessage($message));
127127
}
128128

129-
public function testSendWithNotification(): void
129+
public function testSendWithNotification()
130130
{
131131
$message = 'testMessage';
132132

@@ -174,7 +174,7 @@ public function testSendWithNotification(): void
174174
$transport->send($chatMessage);
175175
}
176176

177-
public function testSendWithInvalidOptions(): void
177+
public function testSendWithInvalidOptions()
178178
{
179179
$this->expectException(LogicException::class);
180180

0 commit comments

Comments
 (0)
0