Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit341200a

Browse files
committed
featuresymfony#24392 Display orphaned events in profiler (kejwmen)
This PR was squashed before being merged into the 4.1-dev branch (closessymfony#24392).Discussion----------Display orphaned events in profiler| Q | A| ------------- | ---| Branch? | 4.1| Bug fix? | no| New feature? | yes| BC breaks? | no| Deprecations? | yes| Tests pass? | yes| Fixed tickets |symfony#24347| License | MITImplementssymfony#24347.Deprecating `TraceableEventDispatcherInterface`.Commits-------509f9a9 Display orphaned events in profiler
2 parents80ed985 +90bbb9b commit341200a

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

‎CHANGELOG.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
CHANGELOG
22
=========
33

4+
4.1.0
5+
-----
6+
7+
* added information about orphaned events
8+
49
4.0.0
510
-----
611

‎Resources/views/Collector/events.html.twig‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,26 @@
4545
{%endif %}
4646
</div>
4747
</div>
48+
49+
<divclass="tab">
50+
<h3class="tab-title">Orphaned events <spanclass="badge">{{collector.orphanedEvents|length }}</span></h3>
51+
<divclass="tab-content">
52+
{%ifcollector.orphanedEventsisempty %}
53+
<divclass="empty">
54+
<p>
55+
<strong>There are no orphaned events</strong>.
56+
</p>
57+
<p>
58+
All dispatched events were handled or an error occurred
59+
when trying to collect orphaned events (in which case check the
60+
logs to get more information).
61+
</p>
62+
</div>
63+
{%else %}
64+
{{ helper.render_table(collector.orphanedEvents) }}
65+
{%endif %}
66+
</div>
67+
</div>
4868
</div>
4969
{%endif %}
5070
{%endblock %}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp