Skip to content

Commit 495dab2

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: Remove dead code
2 parents 48b95bb + 8e2add9 commit 495dab2

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\Bundle\FrameworkBundle\DependencyInjection\Compiler\AddAnnotationsCachedReaderPass;
@@ -1064,7 +1063,7 @@ public function testAnnotations()
10641063
$container->compile();
10651064

10661065
$this->assertEquals($container->getParameter('kernel.cache_dir').'/annotations', $container->getDefinition('annotations.filesystem_cache_adapter')->getArgument(2));
1067-
$this->assertSame(class_exists(PsrCachedReader::class) ? 'annotations.filesystem_cache_adapter' : 'annotations.filesystem_cache', (string) $container->getDefinition('annotation_reader')->getArgument(1));
1066+
$this->assertSame('annotations.filesystem_cache_adapter', (string) $container->getDefinition('annotation_reader')->getArgument(1));
10681067
}
10691068

10701069
public function testFileLinkFormat()

0 commit comments

Comments
 (0)