N°3091 Update PHPUnit to 8.5 : fix setUp and teardDown methods signatures

"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...
This commit is contained in:
Pierre Goiffon
2022-05-03 11:14:59 +02:00
parent a71a5f53f7
commit fe4aa9dcd7

View File

@@ -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();
}