Skip to content

Commit 737613c

Browse files
committed
minor symfony#52155 [WebProfilerBundle] Rewrite to avoid using request word when nothing found (alamirault)
This PR was merged into the 6.4 branch. Discussion ---------- [WebProfilerBundle] Rewrite to avoid using request word when nothing found | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead --> | License | MIT When profiling commands, we don't have request. ![image](https://github.com/symfony/symfony/assets/9253091/93c2ea02-dfdb-4f5f-9c21-cfe32ec45f76) Others collectors templates don't use "Request" when there is no item Commits ------- b329c63 [WebProfilerBundle] Rewrite to avoid using request word when nothing found
2 parents 67ecd29 + b329c63 commit 737613c

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/events.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<strong>There are no uncalled listeners</strong>.
3939
</p>
4040
<p>
41-
All listeners were called for this request or an error occurred
41+
All listeners were called or an error occurred
4242
when trying to collect uncalled listeners (in which case check the
4343
logs to get more information).
4444
</p>

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/exception.html.twig

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

3636
{% if not collector.hasexception %}
3737
<div class="empty empty-panel">
38-
<p>No exception was thrown and caught during the request.</p>
38+
<p>No exception was thrown and caught.</p>
3939
</div>
4040
{% else %}
4141
<div class="sf-reset">

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/form.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@
394394
</div>
395395
{% else %}
396396
<div class="empty empty-panel">
397-
<p>No forms were submitted for this request.</p>
397+
<p>No forms were submitted.</p>
398398
</div>
399399
{% endif %}
400400
{% endblock %}

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/serializer.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
<div class="sf-serializer sf-reset">
100100
{% if not collector.handledCount %}
101101
<div class="empty empty-panel">
102-
<p>Nothing was handled by the serializer for this request.</p>
102+
<p>Nothing was handled by the serializer.</p>
103103
</div>
104104
{% else %}
105105
<div class="metrics">

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/twig.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
<h2>Twig</h2>
9595

9696
<div class="empty empty-panel">
97-
<p>No Twig templates were rendered for this request.</p>
97+
<p>No Twig templates were rendered.</p>
9898
</div>
9999
{% else %}
100100
<h2>Twig Metrics</h2>

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/validator.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
</div>
127127
{% else %}
128128
<div class="empty empty-panel">
129-
<p>No calls to the validator were collected during this request.</p>
129+
<p>No calls to the validator were collected.</p>
130130
</div>
131131
{% endfor %}
132132
{% endblock %}

0 commit comments

Comments
 (0)