We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f512797 commit d266f3cCopy full SHA for d266f3c
Tests/Functional/app/AppKernel.php
@@ -38,7 +38,9 @@
38
$dir = dirname($dir);
39
}
40
41
+use Psr\Log\NullLogger;
42
use Symfony\Component\Config\Loader\LoaderInterface;
43
+use Symfony\Component\DependencyInjection\ContainerBuilder;
44
use Symfony\Component\Filesystem\Filesystem;
45
use Symfony\Component\HttpKernel\Kernel;
46
@@ -95,6 +97,9 @@ public function getLogDir()
95
97
public function registerContainerConfiguration(LoaderInterface $loader)
96
98
{
99
$loader->load($this->rootConfig);
100
+ $loader->load(function (ContainerBuilder $container) {
101
+ $container->register('logger', NullLogger::class);
102
+ });
103
104
105
public function serialize()
0 commit comments