Skip to content

Commit ea656d3

Browse files
committed
change di extension to reference di component rather than http kernel
1 parent 4a7e7fe commit ea656d3

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ Changelog
44
3.x
55
===
66

7+
unreleased
8+
----------
9+
10+
* Fixed extension to depend on the DependencyInjection component rather than the HttpKernel.
11+
712
3.0.1
813
-----
914

composer.json

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"require": {
3131
"php": "^8.1",
3232
"friendsofsymfony/http-cache": "^2.15 || ^3.0",
33+
"symfony/dependency-injection": "^6.4 || ^7.0",
3334
"symfony/expression-language": "^6.4 || ^7.0",
3435
"symfony/framework-bundle": "^6.4 || ^7.0",
3536
"symfony/http-foundation": "^6.4 || ^7.0",

src/DependencyInjection/FOSHttpCacheExtension.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
use Symfony\Component\DependencyInjection\ChildDefinition;
2626
use Symfony\Component\DependencyInjection\ContainerBuilder;
2727
use Symfony\Component\DependencyInjection\Definition;
28+
use Symfony\Component\DependencyInjection\Extension\Extension;
2829
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
2930
use Symfony\Component\DependencyInjection\Reference;
30-
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
3131
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
3232
use Twig\TwigFunction;
3333

0 commit comments

Comments
 (0)