Skip to content

Commit 217ff35

Browse files
committed
[Site] Apply twig-cs-fixer
1 parent fed00e2 commit 217ff35

File tree

5 files changed

+8
-9
lines changed

5 files changed

+8
-9
lines changed
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?php
22

33
$config = new TwigCsFixer\Config\Config();
4-
$config->setCacheFile(null);
54

65
return $config;

ux.symfony.com/templates/components/Icon.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% set default_attributes = {
2-
'class': 'Icon Icon--' ~ name,
3-
'role': 'img',
2+
class: 'Icon Icon--' ~ name,
3+
role: 'img',
44
'aria-hidden': 'true',
55
'aria-label': label,
66
} %}

ux.symfony.com/templates/components/Icon/IconModal.html.twig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,13 @@
100100
<div class="TabPanel" data-tabs-target="tab" id="IconModal-Tab-Meta" data-tab="meta">
101101
<div class="grid" style="--cols: 1fr 1fr">
102102
<twig:DataList items="{{ {
103-
'Name': icon.name,
104-
'Author': icon_set.author.name,
105-
'GitHub': icon_set.github ? {
103+
Name: icon.name,
104+
Author: icon_set.author.name,
105+
GitHub: icon_set.github ? {
106106
title: icon_set.github.name,
107107
href: icon_set.github.url,
108108
} : null,
109-
'Licence': icon_set.license ? {
109+
Licence: icon_set.license ? {
110110
title: icon_set.license.title,
111111
href: icon_set.license.url|default,
112112
} : null,

ux.symfony.com/templates/components/RegistrationForm.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{% else %}
77
{{ form_start(form, {
88
attr: {
9-
'novalidate': true,
9+
novalidate: true,
1010
'data-action': 'live#action:prevent',
1111
'data-live-action-param': 'saveRegistration',
1212
}

ux.symfony.com/templates/demos/live_memory/components/LiveMemory/Timer.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div {{ attributes.defaults({
2-
'class': 'LiveMemory-Timer' ~ (this.blinking ? ' LiveMemory-Timer--blinking' : '')
2+
class: 'LiveMemory-Timer' ~ (this.blinking ? ' LiveMemory-Timer--blinking' : '')
33
}) }}
44
{% if this.remainingTime > (this.warningThreshold * 1000) %}
55
data-poll="delay({{ this.remainingTime - (this.warningThreshold * 1000) }})|tick"

0 commit comments

Comments
 (0)