From b4433f69a63672e2bc7e3d529ebef1a2eca60585 Mon Sep 17 00:00:00 2001 From: pdommelen Date: Mon, 26 Aug 2019 10:30:34 +0200 Subject: [PATCH] Replaced ::class with string identifier. --- .../DependencyInjection/Tests/Dumper/PhpDumperTest.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Symfony/Component/DependencyInjection/Tests/Dumper/PhpDumperTest.php b/src/Symfony/Component/DependencyInjection/Tests/Dumper/PhpDumperTest.php index d5373bf16da25..c63380d3d96c3 100644 --- a/src/Symfony/Component/DependencyInjection/Tests/Dumper/PhpDumperTest.php +++ b/src/Symfony/Component/DependencyInjection/Tests/Dumper/PhpDumperTest.php @@ -11,7 +11,6 @@ namespace Symfony\Component\DependencyInjection\Tests\Dumper; -use MyProject\Proxies\__CG__\stdClass; use PHPUnit\Framework\TestCase; use Psr\Container\ContainerInterface; use Symfony\Component\Config\FileLocator; @@ -1145,7 +1144,7 @@ public function testAliasCanBeFoundInTheDumpedContainerWhenBothTheAliasAndTheSer { $container = new ContainerBuilder(); - $container->register('foo', stdClass::class)->setPublic(true); + $container->register('foo', 'stdClass')->setPublic(true); $container->setAlias('bar', 'foo')->setPublic(true); $container->compile();