8000 [WebProfilerBundle] replaced yaml_dump by json_encode to make the Web… · waibo/symfony@163564b · GitHub
[go: up one dir, main page]

Skip to content

Commit 163564b

Browse files
committed
[WebProfilerBundle] replaced yaml_dump by json_encode to make the Web Profiler independent from the YAML component
1 parent 1c92307 commit 163564b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/bag.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{% for key in bag.keys|sort %}
1010
<tr>
1111
<th>{{ key }}</th>
12-
<td>{{ bag.get(key)|yaml_dump }}</td>
12+
<td>{{ bag.get(key)|json_encode }}</td>
1313
</tr>
1414
{% endfor %}
1515
</tbody>

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/table.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{% for key in data|keys|sort %}
1010
<tr>
1111
<th>{{ key }}</th>
12-
<td>{{ data[key]|yaml_dump }}</td>
12+
<td>{{ data[key]|json_encode }}</td>
1313
</tr>
1414
{% endfor %}
1515
</tbody>

0 commit comments

Comments
 (0)
0