Skip to content

Commit 222f002

Browse files
Add return types to PHPUnit setup
1 parent 76f5e43 commit 222f002

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

tests/Functional/BaseCommandTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ abstract class BaseCommandTestCase extends KernelTestCase
6969
*/
7070
protected $commandTester;
7171

72-
public function setUp()
72+
protected function setUp(): void
7373
{
7474
self::bootKernel();
7575

tests/Functional/Command/ScheduleSystemTasksCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
class ScheduleSystemTasksCommandTest extends BaseCommandTestCase
99
{
10-
public function setUp()
10+
protected function setUp(): void
1111
{
1212
self::bootKernel();
1313
if ('doctrine' !== self::$kernel->getContainer()->getParameter('kernel.storage')) {

tests/Functional/Entity/TaskExecutionRepositoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class TaskExecutionRepositoryTest extends BaseDatabaseTestCase
2525
*/
2626
protected $taskRepository;
2727

28-
public function setUp()
28+
protected function setUp(): void
2929
{
3030
parent::setUp();
3131

tests/Functional/Entity/TaskRepositoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class TaskRepositoryTest extends BaseDatabaseTestCase
1212
*/
1313
protected $taskRepository;
1414

15-
public function setUp()
15+
protected function setUp(): void
1616
{
1717
parent::setUp();
1818

tests/Functional/Handler/TaskHandlerFactoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class TaskHandlerFactoryTest extends KernelTestCase
2626
*/
2727
private $taskHandlerFactory;
2828

29-
protected function setUp()
29+
protected function setUp(): void
3030
{
3131
parent::setUp();
3232

tests/Unit/Command/ScheduleSystemTasksCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class ScheduleSystemTasksCommandTest extends TestCase
3434
*/
3535
private $taskExecutionRepository;
3636

37-
protected function setUp()
37+
protected function setUp(): void
3838
{
3939
$this->scheduler = $this->prophesize(TaskSchedulerInterface::class);
4040
$this->taskRepository = $this->prophesize(TaskRepository::class);

tests/Unit/Executor/SeparateProcessExecutorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class SeparateProcessExecutorTest extends TestCase
6565
*/
6666
private $process;
6767

68-
protected function setUp()
68+
protected function setUp(): void
6969
{
7070
$this->handlerFactory = $this->prophesize(TaskHandlerFactoryInterface::class);
7171
$this->executionRepository = $this->prophesize(TaskExecutionRepositoryInterface::class);

0 commit comments

Comments
 (0)