Skip to content

Commit

Permalink
Remove usage of the deprecated base extension from HttpKernel
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
stof committed Jul 4, 2024
1 parent 0640f10 commit a1bfb9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DependencyInjection/SwarrotExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
use Symfony\Component\Config\FileLocator;
use Symfony\Component\DependencyInjection\ChildDefinition;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Extension\Extension;
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
use Symfony\Component\DependencyInjection\Reference;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;

/**
* SwarrotExtension.
Expand Down

0 comments on commit a1bfb9b

Please sign in to comment.