8000 [FrameworkBundle][TwigBundle] Require PSR-11 container instead of Sym… · symfony/symfony@95ff6bf · GitHub
[go: up one dir, main page]

Skip to content

Commit 95ff6bf

Browse files
committed
[FrameworkBundle][TwigBundle] Require PSR-11 container instead of Symfony container
1 parent 40d133c commit 95ff6bf

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

src/Symfony/Bundle/FrameworkBundle/Controller/ControllerResolver.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\Controller;
1313

14+
use Psr\Container\ContainerInterface;
1415
use Psr\Log\LoggerInterface;
15-
use Symfony\Component\DependencyInjection\ContainerInterface;
1616
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
1717
use Symfony\Component\HttpKernel\Controller\ContainerControllerResolver;
1818

src/Symfony/Bundle/FrameworkBundle/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
/**

src/Symfony/Bundle/FrameworkBundle/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
/**

src/Symfony/Bundle/FrameworkBundle/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.

src/Symfony/Bundle/FrameworkBundle/Translation/Translator.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\Translation;
1313

14+
use Psr\Container\ContainerInterface;
1415
use Symfony\Component\HttpKernel\CacheWarmer\WarmableInterface;
1516
use Symfony\Component\Translation\Translator as BaseTranslator;
1617
use Symfony\Component\Translation\MessageSelector;
17-
use Symfony\Component\DependencyInjection\ContainerInterface;
1818
use Symfony\Component\Translation\Exception\InvalidArgumentException;
1919

2020
/**

src/Symfony/Bundle/TwigBundle/CacheWarmer/TemplateCacheCacheWarmer.php

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

1212
namespace Symfony\Bundle\TwigBundle\CacheWarmer;
1313

14+
use Psr\Container\ContainerInterface;
1415
use Symfony\Component\Finder\Finder;
1516
use Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerInterface;
16-
use Symfony\Component\DependencyInjection\ContainerInterface;
1717
use Symfony\Bundle\FrameworkBundle\CacheWarmer\TemplateFinderInterface;
1818
use Symfony\Component\Templating\TemplateReference;
1919

0 commit comments

Comments
 (0)
0