From 0667dc63ab5bb939f32cc5053a3406fe602c3c0f Mon Sep 17 00:00:00 2001 From: core23 Date: Wed, 14 Aug 2024 17:43:14 +0200 Subject: [PATCH] Fix symfony deprecation --- src/DependencyInjection/NucleosUserExtension.php | 2 +- tests/App/config/config.php | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/DependencyInjection/NucleosUserExtension.php b/src/DependencyInjection/NucleosUserExtension.php index de878395..9c244315 100644 --- a/src/DependencyInjection/NucleosUserExtension.php +++ b/src/DependencyInjection/NucleosUserExtension.php @@ -23,10 +23,10 @@ use Symfony\Component\Config\Loader\FileLoader; use Symfony\Component\DependencyInjection\Alias; use Symfony\Component\DependencyInjection\ContainerBuilder; +use Symfony\Component\DependencyInjection\Extension\Extension; use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface; use Symfony\Component\DependencyInjection\Loader\PhpFileLoader; use Symfony\Component\DependencyInjection\Reference; -use Symfony\Component\HttpKernel\DependencyInjection\Extension; final class NucleosUserExtension extends Extension implements PrependExtensionInterface { diff --git a/tests/App/config/config.php b/tests/App/config/config.php index 99ae524e..e5adb1bb 100644 --- a/tests/App/config/config.php +++ b/tests/App/config/config.php @@ -76,6 +76,9 @@ 'alias' => 'App', ], ], + 'controller_resolver' => [ + 'auto_mapping' => false, + ] ]]); $containerConfigurator->extension('nucleos_user', ['db_driver' => 'orm']);