Skip to content

Commit d4e21d2

Browse files
committed
never rely on service auto-registration
1 parent 7b206d6 commit d4e21d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Tests/Functional/app/AppKernel.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ public function registerContainerConfiguration(LoaderInterface $loader)
9898
{
9999
$loader->load($this->rootConfig);
100100
$loader->load(function (ContainerBuilder $container) {
101+
$container->setParameter('container.autowiring.strict_mode', true);
101102
$container->register('logger', NullLogger::class);
102103
});
103104
}

0 commit comments

Comments
 (0)