Skip to content

Commit 9cc2234

Browse files
committed
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"
1 parent 04120f3 commit 9cc2234

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

test/HTMLDOMSanitizerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@
3333
*/
3434
class HTMLDOMSanitizerTest extends ItopTestCase
3535
{
36-
public function setUp()
36+
public function setUp(): void
3737
{
3838
parent::setUp();
3939

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

4343

test/TestEmlFiles.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
class TestEmlFiles extends ItopTestCase
2121
{
2222

23-
public function setUp()
23+
public function setUp(): void
2424
{
2525
parent::setUp();
2626

test/classes/RawEmailMessageTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
class RawEmailMessageTest extends ItopTestCase
1313
{
14-
public function setUp()
14+
public function setUp(): void
1515
{
1616
parent::setUp();
1717

0 commit comments

Comments
 (0)