Skip to content

Commit

Permalink
[FrameworkBundle] fix deprecation triggered by tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Aug 25, 2019
1 parent 56facf3 commit 6b73f04
Showing 1 changed file with 7 additions and 0 deletions.
Expand Up @@ -36,6 +36,13 @@ public function registerContainerConfiguration(LoaderInterface $loader)
$loader->load(__DIR__.\DIRECTORY_SEPARATOR.'config.yml');
}

public function setAnnotatedClassCache(array $annotatedClasses)
{
$annotatedClasses = array_diff($annotatedClasses, ['Symfony\Bundle\WebProfilerBundle\Controller\ExceptionController', 'Symfony\Bundle\TwigBundle\Controller\ExceptionController']);

parent::setAnnotatedClassCache($annotatedClasses);
}

protected function build(ContainerBuilder $container)
{
$container->register('logger', NullLogger::class);
Expand Down

0 comments on commit 6b73f04

Please sign in to comment.