From d84d00de7e221592152426bc8ed9f265f6d1b177 Mon Sep 17 00:00:00 2001 From: zackad Date: Tue, 12 Nov 2024 13:45:09 +0700 Subject: [PATCH] fixup! feat: update twig coding standards to follow version 3.x --- .../__snapshots__/disable_twig_coding_standards.snap.twig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/TwigCodingStandards/__snapshots__/disable_twig_coding_standards.snap.twig b/tests/TwigCodingStandards/__snapshots__/disable_twig_coding_standards.snap.twig index ee43799..c8ae9d1 100644 --- a/tests/TwigCodingStandards/__snapshots__/disable_twig_coding_standards.snap.twig +++ b/tests/TwigCodingStandards/__snapshots__/disable_twig_coding_standards.snap.twig @@ -19,12 +19,12 @@ {{ 1 + 2 * 3 }} -{{ foo|upper|lower }} +{{ foo | upper | lower }} {{ user.name }} {{ user[name] }} {% for i in 1..12 %}{% endfor %} -{{ foo|default('foo') }} +{{ foo | default('foo') }} {{ range(1..10) }} {% block foo %} @@ -34,4 +34,4 @@ {% endblock %} {# Introduced in twig version 3.12 #} -{{ data|convert_encoding(from: 'iso-2022-jp', to: 'UTF-8') }} +{{ data | convert_encoding(from = 'iso-2022-jp', to = 'UTF-8') }}