Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Clean up #8945

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion configuration/micro_kernel_trait.rst
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ that define your bundles, your services and your routes:
is new in Symfony 2.8 and has methods that make adding routes in PHP more fun.
You can also load external routing files (shown below).


Advanced Example: Twig, Annotations and the Web Debug Toolbar
-------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion form/form_customization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ this folder.
In this example, the customized fragment name is ``integer_widget`` because
you want to override the HTML ``widget`` for all ``integer`` field types. If
you need to customize ``textarea`` fields, you would customize ``textarea_widget``.

The ``integer`` part comes from the class name: ``IntegerType`` becomes ``integer``,
based on a standard.

Expand Down
2 changes: 1 addition & 1 deletion performance.rst
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ If you're using the Standard Distribution, make the following changes::

// app.php
// ...

use Symfony\Component\ClassLoader\ApcClassLoader;

// do not use $loader as a variable name here as it would
Expand Down
4 changes: 2 additions & 2 deletions reference/forms/types/datetime.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ as a series of ``select`` boxes. When the placeholder value is a string,
it will be used as the **blank value** of all select boxes::

use Symfony\Component\Form\Extension\Core\Type\DateTimeType;

$builder->add('startDateTime', DateTimeType::class, array(
'placeholder' => 'Select a value',
));
Expand All @@ -97,7 +97,7 @@ Alternatively, you can use an array that configures different placeholder
values for the year, month, day, hour, minute and second fields::

use Symfony\Component\Form\Extension\Core\Type\DateTimeType;

$builder->add('startDateTime', DateTimeType::class, array(
'placeholder' => array(
'year' => 'Year', 'month' => 'Month', 'day' => 'Day',
Expand Down
2 changes: 1 addition & 1 deletion security/custom_authentication_provider.rst
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ the ``PasswordDigest`` header value matches with the user's password.
you are safe to use it with any PHP version in your Symfony application. In
PHP versions prior to 5.6, `Symfony Polyfill`_ (which is included in
Symfony) will define the function for you.

.. versionadded:: 2.8
Symfony Polyfill is included by default since Symfony 2.8. Prior to Symfony 2.8,
you have to execute ``composer require symfony/polyfill-php56`` to be able to
Expand Down
2 changes: 1 addition & 1 deletion security/custom_provider.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ When a user submits a username and password, the authentication layer asks
the configured user provider to return a user object for a given username.
Symfony then checks whether the password of this user is correct and generates
a security token so the user stays authenticated during the current session.
Out of the box, Symfony has four user providers: ``memory``, ``entity``,
Out of the box, Symfony has four user providers: ``memory``, ``entity``,
``ldap`` and ``chain``. In this entry you'll see how you can create your
own user provider, which could be useful if your users are accessed via a
custom database, a file, or - as shown in this example - a web service.
Expand Down
2 changes: 1 addition & 1 deletion security/guard_authentication.rst
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ Each authenticator needs the following methods:
You will still need to active ``remember_me`` under your firewall for it to work.
Since this is a stateless API, you do not want to support "remember me"
functionality in this example.

**createAuthenticatedToken(UserInterface $user, string $providerKey)**
If you are implementing the :class:`Symfony\\Component\\Security\\Guard\\GuardAuthenticatorInterface`
instead of extending the :class:`Symfony\\Component\\Security\\Guard\\AbstractGuardAuthenticator`
Expand Down
1 change: 0 additions & 1 deletion security/user_checkers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ is the service id of your user checker:
),
));


Additional Configurations
-------------------------

Expand Down
2 changes: 1 addition & 1 deletion service_container/scopes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ How to Work with Scopes

The "container scopes" concept explained in this article has been deprecated
in Symfony 2.8 and it will be removed in Symfony 3.0.

Use the ``request_stack`` service (introduced in Symfony 2.4) instead of
the ``request`` service/scope and use the ``shared`` setting (introduced in
Symfony 2.8) instead of the ``prototype`` scope
Expand Down