Skip to content

Commit 73844e3

Browse files
committed
fix scaffold file cs
1 parent d5d3984 commit 73844e3

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/Resources/scaffolds/6.0/auth/tests/Functional/AuthenticationTest.php.tpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class AuthenticationTest extends KernelTestCase
108108
->assertOn('/')
109109
->assertSuccessful()
110110
->assertAuthenticated('mary@example.com')
111-
->use(function(CookieJar $cookieJar) {
111+
->use(function (CookieJar $cookieJar) {
112112
$cookieJar->expire('MOCKSESSID');
113113
})
114114
->withProfiling()
@@ -130,7 +130,7 @@ class AuthenticationTest extends KernelTestCase
130130
->assertOn('/')
131131
->assertSuccessful()
132132
->assertAuthenticated('mary@example.com')
133-
->use(function(CookieJar $cookieJar) {
133+
->use(function (CookieJar $cookieJar) {
134134
$cookieJar->expire('MOCKSESSID');
135135
})
136136
->visit('/')
@@ -184,7 +184,7 @@ class AuthenticationTest extends KernelTestCase
184184
->click('Sign in')
185185
->assertOn('/')
186186
->assertAuthenticated('mary@example.com')
187-
->use(function(CookieJar $cookieJar) {
187+
->use(function (CookieJar $cookieJar) {
188188
$cookieJar->expire('MOCKSESSID');
189189
})
190190
->visit('/login')

src/Resources/scaffolds/6.0/change-password/templates/user/change_password.html.twig.tpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
<h1>Change Password</h1>
99

1010
{{ form_start(changePasswordForm) }}
11-
{{ form_row(changePasswordForm.currentPassword, { label: 'Current Password' }) }}
12-
{{ form_row(changePasswordForm.plainPassword.first, { label: 'New Password' }) }}
13-
{{ form_row(changePasswordForm.plainPassword.second, { label: 'Repeat New Password' }) }}
11+
{{ form_row(changePasswordForm.currentPassword, {label: 'Current Password'}) }}
12+
{{ form_row(changePasswordForm.plainPassword.first, {label: 'New Password'}) }}
13+
{{ form_row(changePasswordForm.plainPassword.second, {label: 'Repeat New Password'}) }}
1414

1515
<button type="submit" class="btn btn-primary">Change Password</button>
1616
{{ form_end(changePasswordForm) }}

src/Resources/scaffolds/6.0/homepage/templates/index.html.twig.tpl

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

88
{% for type, messages in app.flashes %}
99
{% for message in messages %}
10-
<div class="alert alert-{{ type|replace({ error: 'danger' }) }}">
10+
<div class="alert alert-{{ type|replace({error: 'danger'}) }}">
1111
{{ message }}
1212
</div>
1313
{% endfor %}

src/Resources/scaffolds/6.0/reset-password/templates/reset_password/request.html.twig.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<h1>Reset your password</h1>
99

1010
{{ form_start(requestForm) }}
11-
{{ form_row(requestForm.email, { help: 'Enter your email address and we will send you a link to reset your password.' }) }}
11+
{{ form_row(requestForm.email, {help: 'Enter your email address and we will send you a link to reset your password.'}) }}
1212

1313
<button class="btn btn-primary">Send password reset email</button>
1414
{{ form_end(requestForm) }}

0 commit comments

Comments
 (0)