10000 merged branch aboks/doctrine-profiler-view (PR #2897) · symfony/symfony@af9ddc0 · GitHub
[go: up one dir, main page]

Skip to content

Commit af9ddc0

Browse files
committed
merged branch aboks/doctrine-profiler-view (PR #2897)
Commits ------- 662fdc3 [DoctrineBundle] Fixed incorrectly shown params Discussion ---------- Doctrine profiler view Bug fix: yes Feature addition: no Backwards compatibility break: no Symfony2 tests pass 8000 : yes Fixes the following tickets: - Todo: - After the changes in #2733, the parameters to Doctrine queries were always shown as 'Array' in the profiler. This commit puts back the yaml_encode that is still needed after all.
2 parents 9e38d6a + 662fdc3 commit af9ddc0

File tree

1 file changed

+1
-1
lines changed
  • src/Symfony/Bundle/DoctrineBundle/Resources/views/Collector

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/DoctrineBundle/Resources/views/Collector/db.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<code>{{ query.sql }}</code>
3737
</div>
3838
<small>
39-
<strong>Parameters</strong>: {{ query.params }}<br />
39+
<strong>Parameters</strong>: {{ query.params|yaml_encode }}<br />
4040
<strong>Time</strong>: {{ '%0.2f'|format(query.executionMS * 1000) }} ms
4141
</small>
4242
</li>

0 commit comments

Comments
 (0)
0