From 57bc92769c5f8cb35760dcc263925cba09a7bb28 Mon Sep 17 00:00:00 2001
From: Vadim Justus <v.justus@techdivision.com>
Date: Mon, 19 Oct 2020 15:12:16 +0200
Subject: [PATCH] Add 'setUp(): void' declaration for PhpUnit 9 compatibility

---
 Test/Integration/Model/BlockInstaller/TestCase.php            | 4 ++--
 .../Integration/Model/PageInstaller/InstallMediaFilesTest.php | 2 +-
 Test/Integration/Model/PageInstaller/TestCase.php             | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Test/Integration/Model/BlockInstaller/TestCase.php b/Test/Integration/Model/BlockInstaller/TestCase.php
index 1b07f42..4b1bf17 100644
--- a/Test/Integration/Model/BlockInstaller/TestCase.php
+++ b/Test/Integration/Model/BlockInstaller/TestCase.php
@@ -46,7 +46,7 @@ class TestCase extends \PHPUnit\Framework\TestCase
      */
     protected $getFirstBlockByBlockEntry;
 
-    protected function setUp()
+    protected function setUp(): void
     {
         parent::setUp();
 
@@ -67,7 +67,7 @@ class TestCase extends \PHPUnit\Framework\TestCase
             ->create(GetFirstBlockByBlockEntry::class);
     }
 
-    protected function tearDown()
+    protected function tearDown(): void
     {
         parent::tearDown();
 
diff --git a/Test/Integration/Model/PageInstaller/InstallMediaFilesTest.php b/Test/Integration/Model/PageInstaller/InstallMediaFilesTest.php
index 9fc7029..dc8e7d1 100644
--- a/Test/Integration/Model/PageInstaller/InstallMediaFilesTest.php
+++ b/Test/Integration/Model/PageInstaller/InstallMediaFilesTest.php
@@ -24,7 +24,7 @@ class InstallMediaFilesTest extends TestCase
      */
     protected $fileSystem;
 
-    protected function setUp()
+    protected function setUp(): void
     {
         parent::setUp();
 
diff --git a/Test/Integration/Model/PageInstaller/TestCase.php b/Test/Integration/Model/PageInstaller/TestCase.php
index 60e042c..e877f35 100644
--- a/Test/Integration/Model/PageInstaller/TestCase.php
+++ b/Test/Integration/Model/PageInstaller/TestCase.php
@@ -68,7 +68,7 @@ class TestCase extends \PHPUnit\Framework\TestCase
             ->create(GetFirstPageByPageEntry::class);
     }
 
-    protected function tearDown()
+    protected function tearDown(): void
     {
         parent::tearDown();
 
-- 
GitLab