Skip to content

Commit d7c5cf2

Browse files
committed
Fix CS
1 parent 0f1a900 commit d7c5cf2

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

Tests/Functional/FsCommonUseCasesTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ class FsCommonUseCasesTest extends \PHPUnit\Framework\TestCase
1717
*/
1818
private $fsContext;
1919

20-
public function setUp(): void
20+
protected function setUp(): void
2121
{
2222
$this->fsContext = (new FsConnectionFactory(['path' => sys_get_temp_dir()]))->createContext();
2323

2424
new TempFile(sys_get_temp_dir().'/fs_test_queue');
2525
}
2626

27-
public function tearDown(): void
27+
protected function tearDown(): void
2828
{
2929
$this->fsContext->close();
3030
}

Tests/Functional/FsConsumerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ class FsConsumerTest extends TestCase
1515
*/
1616
private $fsContext;
1717

18-
public function setUp(): void
18+
protected function setUp(): void
1919
{
2020
$this->fsContext = (new FsConnectionFactory(['path' => sys_get_temp_dir()]))->createContext();
2121

2222
$this->fsContext->purgeQueue($this->fsContext->createQueue('fs_test_queue'));
2323
}
2424

25-
public function tearDown(): void
25+
protected function tearDown(): void
2626
{
2727
$this->fsContext->close();
2828
}

Tests/Functional/FsConsumptionUseCasesTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ class FsConsumptionUseCasesTest extends \PHPUnit\Framework\TestCase
2525
*/
2626
private $fsContext;
2727

28-
public function setUp(): void
28+
protected function setUp(): void
2929
{
3030
$this->fsContext = (new FsConnectionFactory(['path' => sys_get_temp_dir()]))->createContext();
3131

3232
new TempFile(sys_get_temp_dir().'/fs_test_queue');
3333
}
3434

35-
public function tearDown(): void
35+
protected function tearDown(): void
3636
{
3737
$this->fsContext->close();
3838
}

Tests/Functional/FsProducerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ class FsProducerTest extends TestCase
1414
*/
1515
private $fsContext;
1616

17-
public function setUp(): void
17+
protected function setUp(): void
1818
{
1919
$this->fsContext = (new FsConnectionFactory(['path' => sys_get_temp_dir()]))->createContext();
2020

2121
new TempFile(sys_get_temp_dir().'/fs_test_queue');
2222
file_put_contents(sys_get_temp_dir().'/fs_test_queue', '');
2323
}
2424

25-
public function tearDown(): void
25+
protected function tearDown(): void
2626
{
2727
$this->fsContext->close();
2828
}

Tests/Functional/FsRpcUseCasesTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ class FsRpcUseCasesTest extends TestCase
2020
*/
2121
private $fsContext;
2222

23-
public function setUp(): void
23+
protected function setUp(): void
2424
{
2525
$this->fsContext = (new FsConnectionFactory(['path' => sys_get_temp_dir()]))->createContext();
2626

2727
new TempFile(sys_get_temp_dir().'/fs_rpc_queue');
2828
new TempFile(sys_get_temp_dir().'/fs_reply_queue');
2929
}
3030

31-
public function tearDown(): void
31+
protected function tearDown(): void
3232
{
3333
$this->fsContext->close();
3434
}

0 commit comments

Comments
 (0)