Skip to content

Commit 0ed8bc9

Browse files
committed
Fix CS
1 parent 69e90d2 commit 0ed8bc9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Tests/Command/StatsCommandTest.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class StatsCommandTest extends TestCase
2525
{
2626
private StatsCommand $command;
2727

28-
public function setUp(): void
28+
protected function setUp(): void
2929
{
3030
$messageCountableTransport = $this->createMock(MessageCountAwareInterface::class);
3131
$messageCountableTransport->method('getMessageCount')->willReturn(6);
@@ -55,11 +55,11 @@ public function setUp(): void
5555
'message_countable',
5656
'simple',
5757
'another_message_countable',
58-
'unexisting'
58+
'unexisting',
5959
]);
6060
}
6161

62-
public function testWithoutArgument(): void
62+
public function testWithoutArgument()
6363
{
6464
$tester = new CommandTester($this->command);
6565
$tester->execute([]);
@@ -71,7 +71,7 @@ public function testWithoutArgument(): void
7171
$this->assertStringContainsString('! [NOTE] Unable to get message count for the following transports: "simple".', $display);
7272
}
7373

74-
public function testWithOneExistingMessageCountableTransport(): void
74+
public function testWithOneExistingMessageCountableTransport()
7575
{
7676
$tester = new CommandTester($this->command);
7777
$tester->execute(['transport_names' => ['message_countable']]);
@@ -83,7 +83,7 @@ public function testWithOneExistingMessageCountableTransport(): void
8383
$this->assertStringNotContainsString(' ! [NOTE] Unable to get message count for the following transports: "simple".', $display);
8484
}
8585

86-
public function testWithMultipleExistingMessageCountableTransport(): void
86+
public function testWithMultipleExistingMessageCountableTransport()
8787
{
8888
$tester = new CommandTester($this->command);
8989
$tester->execute(['transport_names' => ['message_countable', 'another_message_countable']]);
@@ -95,7 +95,7 @@ public function testWithMultipleExistingMessageCountableTransport(): void
9595
$this->assertStringNotContainsString('! [NOTE] Unable to get message count for the following transports: "simple".', $display);
9696
}
9797

98-
public function testWithNotMessageCountableTransport(): void
98+
public function testWithNotMessageCountableTransport()
9999
{
100100
$tester = new CommandTester($this->command);
101101
$tester->execute(['transport_names' => ['simple']]);
@@ -107,7 +107,7 @@ public function testWithNotMessageCountableTransport(): void
107107
$this->assertStringContainsString('! [NOTE] Unable to get message count for the following transports: "simple".', $display);
108108
}
109109

110-
public function testWithNotExistingTransport(): void
110+
public function testWithNotExistingTransport()
111111
{
112112
$tester = new CommandTester($this->command);
113113
$tester->execute(['transport_names' => ['unexisting']]);

0 commit comments

Comments
 (0)