From 77122f481e4e6a4b86db4fc33e25c2260420873c Mon Sep 17 00:00:00 2001 From: Kevin Frantz Date: Fri, 23 Nov 2018 18:40:11 +0100 Subject: [PATCH] Removed container.autowiring.strict_mode from kernel --- application/src/Kernel.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/application/src/Kernel.php b/application/src/Kernel.php index dc2f242..b3b3c0a 100644 --- a/application/src/Kernel.php +++ b/application/src/Kernel.php @@ -38,9 +38,6 @@ class Kernel extends BaseKernel protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader) { $container->addResource(new FileResource($this->getProjectDir().'/config/bundles.php')); - // Feel free to remove the "container.autowiring.strict_mode" parameter - // if you are using symfony/dependency-injection 4.0+ as it's the default behavior - $container->setParameter('container.autowiring.strict_mode', true); $container->setParameter('container.dumper.inline_class_loader', true); $confDir = $this->getProjectDir().'/config';