Skip to content

Commit 5c33c8c

Browse files
committed
Disable phpunit typehint patch on 4.3 branch
1 parent c33c65a commit 5c33c8c

15 files changed

+16
-16
lines changed

Tests/Compiler/ExtensionCompilerPassTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class ExtensionCompilerPassTest extends TestCase
2525
private $container;
2626
private $pass;
2727

28-
protected function setUp()
28+
protected function setUp(): void
2929
{
3030
$this->container = new ContainerBuilder();
3131
$this->pass = new ExtensionCompilerPass();

Tests/Compiler/ResolveParameterPlaceHoldersPassTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class ResolveParameterPlaceHoldersPassTest extends TestCase
2121
private $container;
2222
private $fooDefinition;
2323

24-
protected function setUp()
24+
protected function setUp(): void
2525
{
2626
$this->compilerPass = new ResolveParameterPlaceHoldersPass();
2727
$this->container = $this->createContainerBuilder();

Tests/Config/ContainerParametersResourceCheckerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class ContainerParametersResourceCheckerTest extends TestCase
2929
/** @var ContainerInterface */
3030
private $container;
3131

32-
protected function setUp()
32+
protected function setUp(): void
3333
{
3434
$this->resource = new ContainerParametersResource(['locales' => ['fr', 'en'], 'default_locale' => 'fr']);
3535
$this->container = $this->getMockBuilder(ContainerInterface::class)->getMock();

Tests/Config/ContainerParametersResourceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class ContainerParametersResourceTest extends TestCase
1919
/** @var ContainerParametersResource */
2020
private $resource;
2121

22-
protected function setUp()
22+
protected function setUp(): void
2323
{
2424
$this->resource = new ContainerParametersResource(['locales' => ['fr', 'en'], 'default_locale' => 'fr']);
2525
}

Tests/CrossCheckTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class CrossCheckTest extends TestCase
1919
{
2020
protected static $fixturesPath;
2121

22-
public static function setUpBeforeClass()
22+
public static function setUpBeforeClass(): void
2323
{
2424
self::$fixturesPath = __DIR__.'/Fixtures/';
2525

Tests/Dumper/GraphvizDumperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class GraphvizDumperTest extends TestCase
2121
{
2222
protected static $fixturesPath;
2323

24-
public static function setUpBeforeClass()
24+
public static function setUpBeforeClass(): void
2525
{
2626
self::$fixturesPath = __DIR__.'/../Fixtures/';
2727
}

Tests/Dumper/PhpDumperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class PhpDumperTest extends TestCase
4848
{
4949
protected static $fixturesPath;
5050

51-
public static function setUpBeforeClass()
51+
public static function setUpBeforeClass(): void
5252
{
5353
self::$fixturesPath = realpath(__DIR__.'/../Fixtures/');
5454
}

Tests/Dumper/XmlDumperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class XmlDumperTest extends TestCase
2525
{
2626
protected static $fixturesPath;
2727

28-
public static function setUpBeforeClass()
28+
public static function setUpBeforeClass(): void
2929
{
3030
self::$fixturesPath = realpath(__DIR__.'/../Fixtures/');
3131
}

Tests/Dumper/YamlDumperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class YamlDumperTest extends TestCase
2828
{
2929
protected static $fixturesPath;
3030

31-
public static function setUpBeforeClass()
31+
public static function setUpBeforeClass(): void
3232
{
3333
self::$fixturesPath = realpath(__DIR__.'/../Fixtures/');
3434
}

Tests/Loader/DirectoryLoaderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ class DirectoryLoaderTest extends TestCase
2727
private $container;
2828
private $loader;
2929

30-
public static function setUpBeforeClass()
30+
public static function setUpBeforeClass(): void
3131
{
3232
self::$fixturesPath = realpath(__DIR__.'/../Fixtures/');
3333
}
3434

35-
protected function setUp()
35+
protected function setUp(): void
3636
{
3737
$locator = new FileLocator(self::$fixturesPath);
3838
$this->container = new ContainerBuilder();

0 commit comments

Comments
 (0)