Skip to content

Commit 5a4ec0e

Browse files
committed
use extension class from di component instead of the kernel
1 parent c0bdc01 commit 5a4ec0e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ The change log describes what is "Added", "Removed", "Changed" or "Fixed" betwee
44

55
# Version 1
66

7+
# unreleased
8+
9+
- Fixed extension to depend on the DependencyInjection component rather than the HttpKernel.
10+
711
# 1.33.0 - 2024-02-27
812

913
- Support php-http/cache-plugin 2.0 and bump minimal version to 1.7 by defaulting the stream factory for cache to `httplug.psr17_stream_factory` (#448).

src/DependencyInjection/HttplugExtension.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
use Symfony\Component\DependencyInjection\Definition;
3434
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
3535
use Symfony\Component\DependencyInjection\Reference;
36-
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
36+
use Symfony\Component\DependencyInjection\Extension\Extension;
3737
use Symfony\Component\HttpKernel\Kernel;
3838
use Twig\Environment as TwigEnvironment;
3939

0 commit comments

Comments
 (0)