Skip to content

Commit c2f4995

Browse files
committed
Restrict visibility of methods overriding TestCase::setUp()
1 parent c8a54b9 commit c2f4995

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Tests/Command/MonitorCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class MonitorCommandTest extends WebTestCase
2121
/**
2222
* {@inheritdoc}
2323
*/
24-
public function setUp(): void
24+
protected function setUp(): void
2525
{
2626
self::bootKernel();
2727

Tests/Command/UnlockCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class UnlockCommandTest extends WebTestCase
2222
/**
2323
* {@inheritdoc}
2424
*/
25-
public function setUp(): void
25+
protected function setUp(): void
2626
{
2727
self::bootKernel();
2828

Tests/Controller/ListControllerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class ListControllerTest extends WebTestCase
2727
/**
2828
* {@inheritdoc}
2929
*/
30-
public function setUp(): void
30+
protected function setUp(): void
3131
{
3232
$this->client = self::createClient();
3333
$this->em = static::$kernel->getContainer()

0 commit comments

Comments
 (0)