From 6dff96bb55d471147e27236f6354ba531e38598a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Fr=C3=A9mont?= Date: Mon, 20 May 2024 15:34:03 +0200 Subject: [PATCH] Fix dependency injection namespace --- src/Bundle/SyliusResourceBundle.php | 2 +- .../Compiler/DisableMetadataCachePass.php | 2 +- .../Compiler/DisableMetadataCachePassTest.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename src/Component/src/Symfony/{DependencyIjection => DependencyInjection}/Compiler/DisableMetadataCachePass.php (92%) diff --git a/src/Bundle/SyliusResourceBundle.php b/src/Bundle/SyliusResourceBundle.php index 6d992d4ae..7f58ad640 100644 --- a/src/Bundle/SyliusResourceBundle.php +++ b/src/Bundle/SyliusResourceBundle.php @@ -27,7 +27,7 @@ use Sylius\Bundle\ResourceBundle\DependencyInjection\Compiler\TwigPass; use Sylius\Bundle\ResourceBundle\DependencyInjection\Compiler\WinzouStateMachinePass; use Sylius\Bundle\ResourceBundle\DependencyInjection\PagerfantaExtension; -use Sylius\Resource\Symfony\DependencyIjection\Compiler\DisableMetadataCachePass; +use Sylius\Resource\Symfony\DependencyInjection\Compiler\DisableMetadataCachePass; use Symfony\Component\DependencyInjection\Compiler\PassConfig; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\HttpKernel\Bundle\Bundle; diff --git a/src/Component/src/Symfony/DependencyIjection/Compiler/DisableMetadataCachePass.php b/src/Component/src/Symfony/DependencyInjection/Compiler/DisableMetadataCachePass.php similarity index 92% rename from src/Component/src/Symfony/DependencyIjection/Compiler/DisableMetadataCachePass.php rename to src/Component/src/Symfony/DependencyInjection/Compiler/DisableMetadataCachePass.php index feaec53cb..7846857a2 100644 --- a/src/Component/src/Symfony/DependencyIjection/Compiler/DisableMetadataCachePass.php +++ b/src/Component/src/Symfony/DependencyInjection/Compiler/DisableMetadataCachePass.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace Sylius\Resource\Symfony\DependencyIjection\Compiler; +namespace Sylius\Resource\Symfony\DependencyInjection\Compiler; use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; use Symfony\Component\DependencyInjection\ContainerBuilder; diff --git a/src/Component/tests/Symfony/DependencyInjection/Compiler/DisableMetadataCachePassTest.php b/src/Component/tests/Symfony/DependencyInjection/Compiler/DisableMetadataCachePassTest.php index d8f8816db..0a2392ded 100644 --- a/src/Component/tests/Symfony/DependencyInjection/Compiler/DisableMetadataCachePassTest.php +++ b/src/Component/tests/Symfony/DependencyInjection/Compiler/DisableMetadataCachePassTest.php @@ -14,7 +14,7 @@ namespace Sylius\Component\Resource\tests\Symfony\DependencyInjection\Compiler; use Matthias\SymfonyDependencyInjectionTest\PhpUnit\AbstractCompilerPassTestCase; -use Sylius\Resource\Symfony\DependencyIjection\Compiler\DisableMetadataCachePass; +use Sylius\Resource\Symfony\DependencyInjection\Compiler\DisableMetadataCachePass; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Definition;