Skip to content

Commit a9d0352

Browse files
committed
fix Symfony 7.3 related test deprecation
1 parent 7da1e24 commit a9d0352

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/App/AppKernel.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ protected function configureRoutes(RoutingConfigurator $routes): void
6565
protected function configureContainer(ContainerBuilder $containerBuilder, LoaderInterface $loader): void
6666
{
6767
$loader->load(__DIR__.'/config.yml');
68+
69+
// TODO: move to config.yml once we drop support for Symfony < 7.3
70+
if (Kernel::VERSION_ID >= 70300) {
71+
$containerBuilder->loadFromExtension('framework', ['property_info' => ['with_constructor_extractor' => true]]);
72+
}
6873
}
6974

7075
private function getBaseDir(): string

0 commit comments

Comments
 (0)