From fe4aa9dcd7fd428a1803f24ab63103d28afd04c0 Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Tue, 3 May 2022 11:14:59 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B03091=20Update=20PHPUnit=20to=208.5=20:?= =?UTF-8?q?=20fix=20setUp=20and=20teardDown=20methods=20signatures?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "Return type declaration must be compatible with parent" See https://phpunit.de/announcements/phpunit-8.html "Return Type of Template Methods" Was done in support/2.7 (ec143c43) but there is one new test in this branch... --- test/application/query/QueryTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/application/query/QueryTest.php b/test/application/query/QueryTest.php index 322d14fc3..9c2ab7f84 100644 --- a/test/application/query/QueryTest.php +++ b/test/application/query/QueryTest.php @@ -48,7 +48,7 @@ class QueryTest extends ItopDataTestCase private $oUser; /** @inheritDoc */ - public function setUp() + public function setUp(): void { parent::setUp(); @@ -191,7 +191,7 @@ class QueryTest extends ItopDataTestCase } /** @inheritDoc */ - protected function tearDown() + protected function tearDown(): void { $this->oUser->DBDelete(); }