Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #23218 [DI] Dedup tags when using instanceof/autoconfigure (ogiza…
…nagi) This PR was merged into the 3.3 branch. Discussion ---------- [DI] Dedup tags when using instanceof/autoconfigure | Q | A | ------------- | --- | Branch? | 3.3 <!-- see comment below --> | Bug fix? | yes | New feature? | no <!-- don't forget updating src/**/CHANGELOG.md files --> | BC breaks? | no | Deprecations? | no <!-- don't forget updating UPGRADE-*.md files --> | Tests pass? | yes, failures unrelated (8dc00bb) | Fixed tickets | N/A <!-- #-prefixed issue number(s), if any --> | License | MIT | Doc PR | N/A This fixes uselessly duplicated tags shown when using the `debug:container` command, or in the dumped container in xml format: <img width="554" alt="screenshot 2017-06-17 a 20 41 27" src="https://user-images.githubusercontent.com/2211145/27255375-de79fc4e-539d-11e7-98d9-c10074ddcffb.PNG"> <img width="494" alt="screenshot 2017-06-17 a 20 41 54" src="https://user-images.githubusercontent.com/2211145/27255376-de7ff5b8-539d-11e7-97ae-ccd31b1d5254.PNG"> <img width="1371" alt="screenshot 2017-06-17 a 20 42 33" src="https://user-images.githubusercontent.com/2211145/27255377-de869ba2-539d-11e7-8cd7-6005f8a499d6.PNG"> (duplicates here are explained by the twig namespaced and unnamespaced versions, and the controllers being tagged explicitly in https://github.com/symfony/symfony-demo/blob/master/app/config/services.yml#L25, while also being tagged by autoconfiguration ([which is expected](symfony/symfony-docs#7921 (comment)))) Commits ------- 9f877ef [DI] Dedup tags when using instanceof/autoconfigure
- Loading branch information