From 8aa241e5e4e4ac8dca0a0d277956666c90ab42f0 Mon Sep 17 00:00:00 2001 From: spiralbot Date: Fri, 10 Jan 2025 17:00:29 +0000 Subject: [PATCH] refactor: set setUp() method modifier protected on tests (#1202) --- tests/JobTest.php | 2 +- tests/RenderTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/JobTest.php b/tests/JobTest.php index a8b6b6e..7936793 100644 --- a/tests/JobTest.php +++ b/tests/JobTest.php @@ -26,7 +26,7 @@ class JobTest extends TestCase /** @var RendererInterface */ protected $renderer; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/RenderTest.php b/tests/RenderTest.php index 91439ce..5213178 100644 --- a/tests/RenderTest.php +++ b/tests/RenderTest.php @@ -36,7 +36,7 @@ public function defineDirectories(string $root): array ] + parent::defineDirectories($root); } - public function tearDown(): void + protected function tearDown(): void { parent::tearDown();