Skip to content

Commit bf2645e

Browse files
Merge branch '4.4'
* 4.4: Fix compatibility with PHPUnit 8 Disable phpunit typehint patch on 4.3 branch Fix deprecation on 4.3
2 parents 46aa6c5 + 4f7032a commit bf2645e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Tests/ClockMockTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
*/
2222
class ClockMockTest extends TestCase
2323
{
24-
public static function setUpBeforeClass()
24+
public static function setUpBeforeClass(): void
2525
{
2626
ClockMock::register(__CLASS__);
2727
}
2828

29-
protected function setUp()
29+
protected function setUp(): void
3030
{
3131
ClockMock::withClockMock(1234567890.125);
3232
}

Tests/DnsMockTest.php

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

1717
class DnsMockTest extends TestCase
1818
{
19-
protected function tearDown()
19+
protected function tearDown(): void
2020
{
2121
DnsMock::withMockedHosts(array());
2222
}

0 commit comments

Comments
 (0)