Skip to content

Commit 96719d8

Browse files
authored
Merge pull request #165 from jverdeyen/patch-1
Compatible with PHPUnit 8.0
2 parents 61ea0b8 + ec07074 commit 96719d8

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/PantherTestCaseTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ trait PantherTestCaseTrait
6767
'external_base_uri' => null,
6868
];
6969

70-
public static function tearDownAfterClass()
70+
public static function tearDownAfterClass(): void
7171
{
7272
if (self::$stopServerOnTeardown) {
7373
static::stopWebServer();

tests/ServerExtensionTest.php

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

1919
class ServerExtensionTest extends TestCase
2020
{
21-
public static function tearDownAfterClass()
21+
public static function tearDownAfterClass(): void
2222
{
2323
PantherTestCase::$stopServerOnTeardown = true;
2424
}

tests/ServerListenerTest.php

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

2222
class ServerListenerTest extends TestCase
2323
{
24-
public static function tearDownAfterClass()
24+
public static function tearDownAfterClass(): void
2525
{
2626
PantherTestCase::$stopServerOnTeardown = true;
2727
}

tests/WebDriver/WebDriverMouseTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*/
2121
class WebDriverMouseTest extends TestCase
2222
{
23-
public static function setUpBeforeClass()
23+
public static function setUpBeforeClass(): void
2424
{
2525
self::createPantherClient()->request('GET', self::$baseUri.'/mouse.html');
2626
}

0 commit comments

Comments
 (0)