8000 bug #24888 [FrameworkBundle] Specifically inject the debug dispatcher… · symfony/symfony@f249310 · GitHub
[go: up one dir, main page]

Skip to content

Commit f249310

Browse files
committed
bug #24888 [FrameworkBundle] Specifically inject the debug dispatcher in the collector (ogizanagi)
This PR was merged into the 2.7 branch. Discussion ---------- [FrameworkBundle] Specifically inject the debug dispatcher in the collector | Q | A | ------------- | --- | Branch? | 2.7 <!-- see comment below --> | Bug fix? | yes | New feature? | no <!-- don't forget to update src/**/CHANGELOG.md files --> | BC breaks? | no | Deprecations? | no <!-- don't forget to update UPGRADE-*.md files --> | Tests pass? | yes | Fixed tickets | N/A <!-- #-prefixed issue number(s), if any --> | License | MIT | Doc PR | N/A This ensures we always collect data about events, even when the `event_dispatcher` service is decorated, no matter the decoration order. Commits ------- 7b3a641 [FrameworkBundle] Specifically inject the debug dispatcher in the collector
2 parents 2110dc3 + 7b3a641 commit f249310

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/Resources/config/collectors.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
<service id="data_collector.events" class="%data_collector.events.class%" public="false">
3838
<tag name="data_collector" template="@WebProfiler/Collector/events.html.twig" id="events" priority="255" />
39-
<argument type="service" id="event_dispatcher" on-invalid="ignore" />
39+
<argument type="service" id="debug.event_dispatcher" on-invalid="ignore" />
4040
</service>
4141

4242
<service id="data_collector.logger" class="%data_collector.logger.class%" public="false">

0 commit comments

Comments
 (0)
0