Skip to content

Commit 8e2add9

Browse files
committed
Remove dead code
Signed-off-by: Alexander M. Turek <[email protected]>
1 parent 3368a4b commit 8e2add9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Tests/DependencyInjection/FrameworkExtensionTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection;
1313

1414
use Doctrine\Common\Annotations\Annotation;
15-
use Doctrine\Common\Annotations\PsrCachedReader;
1615
use Psr\Cache\CacheItemPoolInterface;
1716
use Psr\Log\LoggerAwareInterface;
1817
use Symfony\Bridge\PhpUnit\ExpectDeprecationTrait;
@@ -1093,7 +1092,7 @@ public function testAnnotations()
10931092
$container->compile();
10941093

10951094
$this->assertEquals($container->getParameter('kernel.cache_dir').'/annotations', $container->getDefinition('annotations.filesystem_cache_adapter')->getArgument(2));
1096-
$this->assertSame(class_exists(PsrCachedReader::class) ? 'annotations.filesystem_cache_adapter' : 'annotations.filesystem_cache', (string) $container->getDefinition('annotation_reader')->getArgument(1));
1095+
$this->assertSame('annotations.filesystem_cache_adapter', (string) $container->getDefinition('annotation_reader')->getArgument(1));
10971096
}
10981097

10991098
public function testFileLinkFormat()

0 commit comments

Comments
 (0)