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.
2 parents db9ec95 + e86d3e8 commit 0725f9dCopy full SHA for 0725f9d
Tests/Functional/WebProfilerBundleKernel.php
@@ -2,6 +2,7 @@
2
3
namespace Symfony\Bundle\WebProfilerBundle\Tests\Functional;
4
5
+use Psr\Log\NullLogger;
6
use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
7
use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait;
8
use Symfony\Bundle\TwigBundle\TwigBundle;
@@ -61,6 +62,11 @@ public function getLogDir()
61
62
return sys_get_temp_dir().'/log-'.spl_object_hash($this);
63
}
64
65
+ protected function build(ContainerBuilder $container)
66
+ {
67
+ $container->register('logger', NullLogger::class);
68
+ }
69
+
70
public function homepageController()
71
{
72
return new Response('<html><head></head><body>Homepage Controller.</body></html>');
0 commit comments