bug #35830 [FrameworkBundle] Skip notifiers tags in UnusedTagsPass (chalasr)

This PR was merged into the 5.0 branch.

Discussion
----------

[FrameworkBundle] Skip notifiers tags in UnusedTagsPass

| Q             | A
| ------------- | ---
| Branch?       | 5.0
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -

Commits
-------

24cfb7f095 [FrameworkBundle] Skip notifiers tags in UnusedTagsPass
This commit is contained in:
Fabien Potencier 2020-02-23 10:01:01 +01:00
commit 93ccd2835b
1 changed files with 2 additions and 0 deletions

View File

@ -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',