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 b926467 + 41db5bc commit e86d3e8Copy full SHA for e86d3e8
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;
@@ -66,6 +67,11 @@ public function getLogDir()
66
67
return sys_get_temp_dir().'/log-'.spl_object_hash($this);
68
}
69
70
+ protected function build(ContainerBuilder $container)
71
+ {
72
+ $container->register('logger', NullLogger::class);
73
+ }
74
+
75
public function homepageController()
76
{
77
return new Response('<html><head></head><body>Homepage Controller.</body></html>');
0 commit comments