Skip to content

Commit 0b5e9f0

Browse files
committed
feature #21979 [FrameworkBundle][TwigBundle] Require PSR-11 container instead of Symfony container (enumag)
This PR was merged into the 3.3-dev branch. Discussion ---------- [FrameworkBundle][TwigBundle] Require PSR-11 container instead of Symfony container | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | As discussed in #21978 here is the second PR. Commits ------- 857ce7c7be [FrameworkBundle][TwigBundle] Require PSR-11 container instead of Symfony container
2 parents ccdcbbc + 40cc44a commit 0b5e9f0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Templating/DelegatingEngine.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
namespace Symfony\Bundle\FrameworkBundle\Templating;
1313

14+
use Psr\Container\ContainerInterface;
1415
use Symfony\Component\Templating\DelegatingEngine as BaseDelegatingEngine;
15-
use Symfony\Component\DependencyInjection\ContainerInterface;
1616
use Symfony\Component\HttpFoundation\Response;
1717

1818
/**

Templating/PhpEngine.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111

1212
namespace Symfony\Bundle\FrameworkBundle\Templating;
1313

14+
use Psr\Container\ContainerInterface;
1415
use Symfony\Component\Templating\PhpEngine as BasePhpEngine;
1516
use Symfony\Component\Templating\Loader\LoaderInterface;
1617
use Symfony\Component\Templating\TemplateNameParserInterface;
17-
use Symfony\Component\DependencyInjection\ContainerInterface;
1818
use Symfony\Component\HttpFoundation\Response;
1919

2020
/**

Templating/TimedPhpEngine.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111

1212
namespace Symfony\Bundle\FrameworkBundle\Templating;
1313

14+
use Psr\Container\ContainerInterface;
1415
use Symfony\Component\Templating\TemplateNameParserInterface;
1516
use Symfony\Component\Stopwatch\Stopwatch;
1617
use Symfony\Component\Templating\Loader\LoaderInterface;
17-
use Symfony\Component\DependencyInjection\ContainerInterface;
1818

1919
/**
2020
* Times the time spent to render a template.

0 commit comments

Comments
 (0)