From 7cdb95c78c5b5039d1daf117121fb17a85b200e8 Mon Sep 17 00:00:00 2001
From: Arnaud Ligny
{% verbatim %}{{ asset('ISS.jpg').exif }}{% endverbatim %}
- {{- dump(asset('ISS.jpg').exif) -}}
+ {{- d(asset('ISS.jpg').exif) -}}
- {{ dump(site.data.subdir.subsub.csv) }} + {{ d(site.data.subdir.subsub.csv) }}{% endblock %} diff --git a/tests/fixtures/website/layouts/fmvariables.html.twig b/tests/fixtures/website/layouts/fmvariables.html.twig index 6b05d6af5..a22ae0a39 100644 --- a/tests/fixtures/website/layouts/fmvariables.html.twig +++ b/tests/fixtures/website/layouts/fmvariables.html.twig @@ -4,7 +4,7 @@
page.fmvariables: -{{ dump(page.fmvariables) }} +{{ d(page.fmvariables) }}{% endblock content %} diff --git a/tests/fixtures/website/layouts/functions_and_filters.html.twig b/tests/fixtures/website/layouts/functions_and_filters.html.twig index 45863d3c3..12be7d167 100644 --- a/tests/fixtures/website/layouts/functions_and_filters.html.twig +++ b/tests/fixtures/website/layouts/functions_and_filters.html.twig @@ -28,18 +28,18 @@
{% verbatim %}{{ asset('json.json').content|json_decode}}{% endverbatim %}-
{{ dump(asset('json.json').content|json_decode) }}+
{{ d(asset('json.json').content|json_decode) }}
{% verbatim %}{{ asset('yaml.yml').content|yaml_parse }}{% endverbatim %}-
{{ dump(asset('yaml.yml').content|yaml_parse) }}+
{{ d(asset('yaml.yml').content|yaml_parse) }}
{% verbatim %}{{ dump('#0A66C2'|hex_to_rgb) }}{% endverbatim %}-
{{ dump('#0A66C2'|hex_to_rgb) }}+
{% verbatim %}{{ d('#0A66C2'|hex_to_rgb) }}{% endverbatim %}+
{{ d('#0A66C2'|hex_to_rgb) }}
{% verbatim %}{{ dump('This is a test of the splitline filter.'|splitline) }}{% endverbatim %}-
{{ dump('This is a test of the splitline filter.'|splitline) }}+
{% verbatim %}{{ d('This is a test of the splitline filter.'|splitline) }}{% endverbatim %}+
{{ d('This is a test of the splitline filter.'|splitline) }}{% endblock content %} \ No newline at end of file diff --git a/tests/fixtures/website/layouts/static.html.twig b/tests/fixtures/website/layouts/static.html.twig index c6fa674fa..327e4711e 100644 --- a/tests/fixtures/website/layouts/static.html.twig +++ b/tests/fixtures/website/layouts/static.html.twig @@ -17,8 +17,8 @@
{{ dump(file.exif|default({})) }}
{{ dump(file.audio|default) }}
{{ d(file.exif|default({})) }}
{{ d(file.audio|default) }}
{{ dump(site.taxonomies) }}+
{{ d(site.taxonomies) }}{% endblock content %} diff --git a/tests/fixtures/website/layouts/variables.html.twig b/tests/fixtures/website/layouts/variables.html.twig index 7cd3af36f..f0b669f24 100644 --- a/tests/fixtures/website/layouts/variables.html.twig +++ b/tests/fixtures/website/layouts/variables.html.twig @@ -3,7 +3,7 @@ {% block content %}
-{{ dump(page.variables) }} +{{ d(page.variables) }}{% endblock %} diff --git a/tests/fixtures/website/themes/a-theme/layouts/includes/page_li.html.twig b/tests/fixtures/website/themes/a-theme/layouts/includes/page_li.html.twig index 35278ed76..193df1211 100644 --- a/tests/fixtures/website/themes/a-theme/layouts/includes/page_li.html.twig +++ b/tests/fixtures/website/themes/a-theme/layouts/includes/page_li.html.twig @@ -12,7 +12,7 @@