Skip to content

Commit d136dac

Browse files
authored
chore: backport of twig-cs-fixer fixes (#237)
1 parent 64790d7 commit d136dac

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

templates/App/Controller/FormAction.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
<fieldset>
7070
<h3>Enter your information 🖋</h3>
7171

72-
{{ form(form, {'attr': {'novalidate': 'novalidate'}}) }}
72+
{{ form(form, {attr: {novalidate: 'novalidate'}}) }}
7373
</fieldset>
7474
</article>
7575
{% endif %}

templates/App/Controller/HomeAction.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@
4343
<h2>Built with MicroSymfony 🛠️️</h2>
4444
#}
4545

46-
{% endblock %}
46+
{% endblock %}

templates/App/Controller/StimulusAction.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
<h2>Demo: ajax call to API endpoint</h2>
6464
</header>
6565

66-
<p {{ stimulus_controller('api', {url: path(ctrl_fqcn('SlugifyAction'))} )}}>
66+
<p {{ stimulus_controller('api', {url: path(ctrl_fqcn('SlugifyAction'))}) }}>
6767
<label for="title">
6868
Enter a blog post title below:
6969
<input type="text" required name="title" id="title"

templates/_form.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{{ form(form, {'attr': {'novalidate': 'novalidate'}}) }}
1+
{{ form(form, {attr: {novalidate: 'novalidate'}}) }}

templates/base.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080

8181
<div class="grid">
8282
<div>
83-
<span class="versions">{{ brand|raw }} v{{ sf_version }}{# version #} ({{ 'frankenphp' in php_sapi ? php_sapi : 'PHP '~php_sapi }} {{ php_version }})</span>
83+
<span class="versions">{{ brand|raw }} v{{ sf_version }}{# version #} ({{ 'frankenphp' in php_sapi ? php_sapi : 'PHP ' ~ php_sapi }} {{ php_version }})</span>
8484

8585
<small>
8686
A Symfony minimalist application template by <a href="https://www.strangebuzz.com" target="_blank">COil/Strangebuzz 🐝</a>

0 commit comments

Comments
 (0)