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"
  • Loading branch information
Pierre Goiffon committed May 3, 2022
1 parent 04120f3 commit 9cc2234
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/HTMLDOMSanitizerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@
*/
class HTMLDOMSanitizerTest extends ItopTestCase
{
public function setUp()
public function setUp(): void
{
parent::setUp();

require_once(APPROOT . 'env-production/combodo-email-synchro/classes/rawemailmessage.class.inc.php');
require_once(APPROOT.'env-production/combodo-email-synchro/classes/rawemailmessage.class.inc.php');
}


Expand Down
2 changes: 1 addition & 1 deletion test/TestEmlFiles.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
class TestEmlFiles extends ItopTestCase
{

public function setUp()
public function setUp(): void
{
parent::setUp();

Expand Down
2 changes: 1 addition & 1 deletion test/classes/RawEmailMessageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class RawEmailMessageTest extends ItopTestCase
{
public function setUp()
public function setUp(): void
{
parent::setUp();

Expand Down

0 comments on commit 9cc2234

Please sign in to comment.