8000 [Kernel] Move the cache compiler passes into the Kernel component · symfony/symfony@5ee08d2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5ee08d2

Browse files
committed
[Kernel] Move the cache compiler passes into the Kernel component
1 parent e7c12d3 commit 5ee08d2

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/Symfony/Bundle/FrameworkBundle/FrameworkBundle.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323
use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\ProfilerPass;
2424
use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\TranslatorPass;
2525
use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\LoggingTranslatorPass;
26-
use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\AddCacheWarmerPass;
27-
use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\AddCacheClearerPass;
2826
use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\AddExpressionLanguageProvidersPass;
2927
use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\ContainerBuilderDebugDumpPass;
3028
use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\CompilerDebugDumpPass;
@@ -44,6 +42,8 @@
4442
use Symfony\Component\EventDispatcher\DependencyInjection\RegisterListenersPass;
4543
use Symfony\Component\HttpKernel\DependencyInjection\FragmentRendererPass;
4644
use Symfony\Component\Form\DependencyInjection\FormPass;
45+
use Symfony\Component\HttpKernel\DependencyInjection\AddCacheWarmerPass;
46+
use Symfony\Component\HttpKernel\DependencyInjection\AddCacheClearerPass;
4747
use Symfony\Component\HttpFoundation\Request;
4848
use Symfony\Component\HttpKernel\Bundle\Bundle;
4949
use Symfony\Component\Config\Resource\ClassExistenceResource;

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/AddCacheClearerPass.php renamed to src/Symfony/Component/HttpKernel/DependencyInjection/AddCacheClearerPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler;
12+
namespace Symfony\Component\HttpKernel\DependencyInjection;
1313

1414
use Symfony\Component\DependencyInjection\ContainerBuilder;
1515
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/AddCacheWarmerPass.php renamed to src/Symfony/Component/HttpKernel/DependencyInjection/AddCacheWarmerPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler;
12+
namespace Symfony\Component\HttpKernel\DependencyInjection;
1313

1414
use Symfony\Component\DependencyInjection\Compiler\PriorityTaggedServiceTrait;
1515
use Symfony\Component\DependencyInjection\ContainerBuilder;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\Compiler;
12+
namespace Symfony\Component\HttpKernel\Tests\DependencyInjection;
1313

1414
use PHPUnit\Framework\TestCase;
1515
use Symfony\Component\DependencyInjection\Reference;
16-
use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\AddCacheWarmerPass;
16+
use Symfony\Component\HttpKernel\DependencyInjection\AddCacheWarmerPass;
1717

1818
class AddCacheWarmerPassTest extends TestCase
1919
{

0 commit comments

Comments
 (0)
0