Skip to content

Commit 76caab8

Browse files
authored
Remove usage of the deprecated base extension from HttpKernel (#1204)
The base extension available in HttpKernel only adds support for registering some classes to be added in the cache warmer of the doctrine/annotations parser, compared to the base class of the DI component. As annotations are not supported anymore in Symfony 7, this base class has been deprecated in Symfony 7.1. As this bundle does not rely on the extra feature, it can use the base class from DI directly.
1 parent c2fb20c commit 76caab8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Bridge/Symfony/DependencyInjection/NelmioAliceExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
use InvalidArgumentException;
1818
use Symfony\Component\Config\FileLocator;
1919
use Symfony\Component\DependencyInjection\ContainerBuilder;
20+
use Symfony\Component\DependencyInjection\Extension\Extension;
2021
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
2122
use Symfony\Component\Finder\Finder;
22-
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
2323

2424
/**
2525
* @private

0 commit comments

Comments
 (0)