From a88a3e4eba97f84af3608202ae3895699ef7480d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Andr=C3=A9?= Date: Tue, 6 May 2025 04:51:50 +0200 Subject: [PATCH] [Toolkit] Fix deprecation Kernel > 7.3 --- src/Toolkit/tests/Fixtures/Kernel.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Toolkit/tests/Fixtures/Kernel.php b/src/Toolkit/tests/Fixtures/Kernel.php index d1853b06649..7ea7eb0574f 100644 --- a/src/Toolkit/tests/Fixtures/Kernel.php +++ b/src/Toolkit/tests/Fixtures/Kernel.php @@ -45,6 +45,10 @@ protected function configureContainer(ContainerConfigurator $container): void 'property_access' => true, 'http_client' => true, 'handle_all_throwables' => true, + + ...(self::VERSION_ID >= 70300 ? [ + 'property_info' => ['with_constructor_extractor' => false], + ] : []), ]); $container->extension('twig', [