From 24cfb7f095d7dfdfc29b94302c80a668c5047075 Mon Sep 17 00:00:00 2001 From: Robin Chalas Date: Sun, 23 Feb 2020 06:45:13 +0100 Subject: [PATCH] [FrameworkBundle] Skip notifiers tags in UnusedTagsPass --- .../DependencyInjection/Compiler/UnusedTagsPass.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/UnusedTagsPass.php b/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/UnusedTagsPass.php index 5bbcb7452e..7a966fd214 100644 --- a/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/UnusedTagsPass.php +++ b/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/UnusedTagsPass.php @@ -24,6 +24,7 @@ class UnusedTagsPass implements CompilerPassInterface private $whitelist = [ 'annotations.cached_reader', 'cache.pool.clearer', + 'chatter.transport_factory', 'console.command', 'container.hot_path', 'container.reversible', @@ -56,6 +57,7 @@ class UnusedTagsPass implements CompilerPassInterface 'security.voter', 'serializer.encoder', 'serializer.normalizer', + 'texter.transport_factory', 'translation.dumper', 'translation.extractor', 'translation.loader',