Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f249310

Browse filesBrowse 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
Copy full SHA for f249310

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Resources/config/collectors.xml
+1-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.