8000 minor #8945 Clean up (carusogabriel) · symfony/symfony-docs@51e7b68 · GitHub
[go: up one dir, main page]

Skip to content
< 65EE script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_remote-form_dist_index_js-node_modules_delegated-events_dist_inde-94fd67-e789af5a4655.js" defer="defer">

Commit 51e7b68

Browse files
committed
minor #8945 Clean up (carusogabriel)
This PR was squashed before being merged into the 2.8 branch (closes #8945). Discussion ---------- Clean up Following #8944, suggested by @wouterj Commits ------- a63fd12 Clean up
2 parents 8e9f755 + a63fd12 commit 51e7b68

File tree

9 files changed

+8
-10
lines changed

9 files changed

+8
-10
lines changed

configuration/micro_kernel_trait.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ that define your bundles, your services and your routes:
110110
is new in Symfony 2.8 and has methods that make adding routes in PHP more fun.
111111
You can also load external routing files (shown below).
112112

113-
114113
Advanced Example: Twig, Annotations and the Web Debug Toolbar
115114
-------------------------------------------------------------
116115

form/form_customization.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ this folder.
211211
In this example, the customized fragment name is ``integer_widget`` because
212212
you want to override the HTML ``widget`` for all ``integer`` field types. If
213213
you need to customize ``textarea`` fields, you would customize ``textarea_widget``.
214-
214+
215215
The ``integer`` part comes from the class name: ``IntegerType`` becomes ``integer``,
216216
based on a standard.
217217

performance.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ If you're using the Standard Distribution, make the following changes::
133133

134134
// app.php
135135
// ...
136-
136+
137137
use Symfony\Component\ClassLoader\ApcClassLoader;
138138

139139
// do not use $loader as a variable name here as it would

reference/forms/types/datetime.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ as a series of ``select`` boxes. When the placeholder value is a string,
8888
it will be used as the **blank value** of all select boxes::
8989

9090
use Symfony\Component\Form\Extension\Core\Type\DateTimeType;
91-
91+
9292
$builder->add('startDateTime', DateTimeType::class, array(
9393
'placeholder' => 'Select a value',
9494
));
@@ -97,7 +97,7 @@ Alternatively, you can use an array that configures different placeholder
9797
values for the year, month, day, hour, minute and second fields::
9898

9999
use Symfony\Component\Form\Extension\Core\Type\DateTimeType;
100-
100+
101101
$builder->add('startDateTime', DateTimeType::class, array(
102102
'placeholder' => array(
103103
'year' => 'Year', 'month' => 'Month', 'day' => 'Day',

security/custom_authentication_provider.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ the ``PasswordDigest`` header value matches with the user's password.
298298
you are safe to use it with any PHP version in your Symfony application. In
299299
PHP versions prior to 5.6, `Symfony Polyfill`_ (which is included in
300300
Symfony) will define the function for you.
301-
301+
302302
.. versionadded:: 2.8
303303
Symfony Polyfill is included by default since Symfony 2.8. Prior to Symfony 2.8,
304304
you have to execute ``composer require symfony/polyfill-php56`` to be able to

security/custom_provider.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ When a user submits a username and password, the authentication layer asks
99
the configured user provider to return a user object for a given username.
1010
Symfony then checks whether the password of this user is correct and generates
1111
a security token so the user stays authenticated during the current session.
12-
Out of the box, Symfony has four user providers: ``memory``, ``entity``,
12+
Out of the box, Symfony has four user providers: ``memory``, ``entity``,
1313
``ldap`` and ``chain``. In this entry you'll see how you can create your
1414
own user provider, which could be useful if your users are accessed via a
1515
custom database, a file, or - as shown in this example - a web service.

security/guard_authentication.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ Each authenticator needs the following methods:
422422
You will still need to active ``remember_me`` under your firewall for it to work.
423423
Since this is a stateless API, you do not want to support "remember me"
424424
functionality in this example.
425-
425+
426426
**createAuthenticatedToken(UserInterface $user, string $providerKey)**
427427
If you are implementing the :class:`Symfony\\Component\\Security\\Guard\\GuardAuthenticatorInterface`
428428
instead of extending the :class:`Symfony\\Component\\Security\\Guard\\AbstractGuardAuthenticator`

security/user_checkers.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ is the service id of your user checker:
146146
),
147147
));
148148
149-
150149
Additional Configurations
151150
-------------------------
152151

service_container/scopes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ How to Work with Scopes
88

99
The "container scopes" concept explained in this article has been deprecated
1010
in Symfony 2.8 and it will be removed in Symfony 3.0.
11-
11+
1212
Use the ``request_stack`` service (introduced in Symfony 2.4) instead of
1313
the ``request`` service/scope and use the ``shared`` setting (introduced in
1414
Symfony 2.8) instead of the ``prototype`` scope

0 commit comments

Comments
 (0)
0