Skip to content

Commit 3c3de44

Browse files
committed
silencing logger
1 parent 0c0fed5 commit 3c3de44

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Symfony/Component/AssetPipeline/Tests/fixtures/PipelineTestAppKernel.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
namespace Symfony\Component\AssetPipeline\Tests\fixtures;
1313

14+
use Psr\Log\NullLogger;
1415
use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
1516
use Symfony\Component\Config\Loader\LoaderInterface;
1617
use Symfony\Component\DependencyInjection\Alias;
@@ -46,4 +47,9 @@ public function registerContainerConfiguration(LoaderInterface $loader): void
4647
$container->setAlias('public.assets.packages', new Alias('assets.packages', true));
4748
});
4849
}
50+
51+
protected function build(ContainerBuilder $container): void
52+
{
53+
$container->register('logger', NullLogger::class);
54+
}
4955
}

0 commit comments

Comments
 (0)