Skip to content

Commit 34d2a67

Browse files
authored
fix(deps): Remove usage of the deprecated base extension from HttpKernel (#38)
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 598a26d commit 34d2a67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DependencyInjection/SpiriitFormFilterExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
use Spiriit\Bundle\FormFilterBundle\Filter\FilterOperands;
1515
use Symfony\Component\Config\FileLocator;
1616
use Symfony\Component\DependencyInjection\ContainerBuilder;
17+
use Symfony\Component\DependencyInjection\Extension\Extension;
1718
use Symfony\Component\DependencyInjection\Loader;
1819
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
19-
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
2020

2121
/**
2222
* This is the class that loads and manages your bundle configuration

0 commit comments

Comments
 (0)