Skip to content

Commit ccb8418

Browse files
committed
Disable phpunit typehint patch on 4.3 branch
1 parent a1e47f3 commit ccb8418

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

Tests/Generator/Dumper/PhpGeneratorDumperTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class PhpGeneratorDumperTest extends TestCase
4343
*/
4444
private $largeTestTmpFilepath;
4545

46-
protected function setUp()
46+
protected function setUp(): void
4747
{
4848
parent::setUp();
4949

@@ -55,7 +55,7 @@ protected function setUp()
5555
@unlink($this->largeTestTmpFilepath);
5656
}
5757

58-
protected function tearDown()
58+
protected function tearDown(): void
5959
{
6060
parent::tearDown();
6161

Tests/Loader/AnnotationClassLoaderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class AnnotationClassLoaderTest extends AbstractAnnotationLoaderTest
4545
*/
4646
private $loader;
4747

48-
protected function setUp()
48+
protected function setUp(): void
4949
{
5050
$reader = new AnnotationReader();
5151
$this->loader = new class($reader) extends AnnotationClassLoader {

Tests/Loader/AnnotationDirectoryLoaderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class AnnotationDirectoryLoaderTest extends AbstractAnnotationLoaderTest
1919
protected $loader;
2020
protected $reader;
2121

22-
protected function setUp()
22+
protected function setUp(): void
2323
{
2424
parent::setUp();
2525

Tests/Loader/AnnotationFileLoaderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class AnnotationFileLoaderTest extends AbstractAnnotationLoaderTest
2020
protected $loader;
2121
protected $reader;
2222

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

Tests/Loader/DirectoryLoaderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class DirectoryLoaderTest extends AbstractAnnotationLoaderTest
2323
private $loader;
2424
private $reader;
2525

26-
protected function setUp()
26+
protected function setUp(): void
2727
{
2828
parent::setUp();
2929

Tests/Matcher/Dumper/PhpMatcherDumperTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ class PhpMatcherDumperTest extends TestCase
3434
*/
3535
private $dumpPath;
3636

37-
protected function setUp()
37+
protected function setUp(): void
3838
{
3939
parent::setUp();
4040

4141
$this->matcherClass = uniqid('ProjectUrlMatcher');
4242
$this->dumpPath = sys_get_temp_dir().\DIRECTORY_SEPARATOR.'php_matcher.'.$this->matcherClass.'.php';
4343
}
4444

45-
protected function tearDown()
45+
protected function tearDown(): void
4646
{
4747
parent::tearDown();
4848

Tests/RouterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class RouterTest extends TestCase
2222

2323
private $loader = null;
2424

25-
protected function setUp()
25+
protected function setUp(): void
2626
{
2727
$this->loader = $this->getMockBuilder('Symfony\Component\Config\Loader\LoaderInterface')->getMock();
2828
$this->router = new Router($this->loader, 'routing.yml');

0 commit comments

Comments
 (0)