Skip to content

Commit f7931c0

Browse files
Merge branch '4.3' into 4.4
* 4.3: Fix assertInternalType deprecation in phpunit 9 Ensure signatures for setUp|tearDown|setUpAfterClass|tearDownAfterClass methods in tests are compatible with phpunit 8.2
2 parents 060f552 + c06529c commit f7931c0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Tests/Generator/Dumper/CompiledUrlGeneratorDumperTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class CompiledUrlGeneratorDumperTest extends TestCase
4141
*/
4242
private $largeTestTmpFilepath;
4343

44-
protected function setUp()
44+
protected function setUp(): void
4545
{
4646
parent::setUp();
4747

@@ -53,7 +53,7 @@ protected function setUp()
5353
@unlink($this->largeTestTmpFilepath);
5454
}
5555

56-
protected function tearDown()
56+
protected function tearDown(): void
5757
{
5858
parent::tearDown();
5959

Tests/Matcher/Dumper/CompiledUrlMatcherDumperTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ class CompiledUrlMatcherDumperTest extends TestCase
2626
*/
2727
private $dumpPath;
2828

29-
protected function setUp()
29+
protected function setUp(): void
3030
{
3131
parent::setUp();
3232

3333
$this->dumpPath = sys_get_temp_dir().\DIRECTORY_SEPARATOR.'php_matcher.'.uniqid('CompiledUrlMatcher').'.php';
3434
}
3535

36-
protected function tearDown()
36+
protected function tearDown(): void
3737
{
3838
parent::tearDown();
3939

0 commit comments

Comments
 (0)