8000
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 6ee6b2e commit 0b95199Copy full SHA for 0b95199
src/Symfony/Bundle/WebProfilerBundle/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;
@@ -73,6 +74,11 @@ public function getLogDir()
73
74
return sys_get_temp_dir().'/log-'.spl_object_hash($this);
75
}
76
77
+ protected function build(ContainerBuilder $container)
78
+ {
79
+ $container->register('logger', NullLogger::class);
80
+ }
81
+
82
public function homepageController()
83
{
84
return new Response('<html><head></head><body>Homepage Controller.</body></html>');
0 commit comments