Skip to content

Commit

Permalink
N°3091 Update PHPUnit to 8.5 : fix setUp and teardDown methods signat…
Browse files Browse the repository at this point in the history
…ures

"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 (ec143c4) but there is one new test in this branch...
  • Loading branch information
Pierre Goiffon committed May 3, 2022
1 parent a71a5f5 commit fe4aa9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/application/query/QueryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class QueryTest extends ItopDataTestCase
private $oUser;

/** @inheritDoc */
public function setUp()
public function setUp(): void
{
parent::setUp();

Expand Down Expand Up @@ -191,7 +191,7 @@ private function CallExportService(Query $oQuery)
}

/** @inheritDoc */
protected function tearDown()
protected function tearDown(): void
{
$this->oUser->DBDelete();
}
Expand Down

0 comments on commit fe4aa9d

Please sign in to comment.