Skip to content

Commit

Permalink
fixup! feat: update twig coding standards to follow version 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
zackad committed Nov 12, 2024
1 parent 5d86aa3 commit d84d00d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand All @@ -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') }}

0 comments on commit d84d00d

Please sign in to comment.