Skip to content

[Security] use new class #17462

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

Merged
merged 1 commit into from
Nov 25, 2022
Merged
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
6 changes: 3 additions & 3 deletions security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1613,7 +1613,7 @@ Login Programmatically

The :class:`Symfony\Bundle\SecurityBundle\Security <Symfony\\Bundle\\SecurityBundle\\Security>`
class was introduced in Symfony 6.2. Prior to 6.2, it was called
``Symfony\Component\Security\Core\Security``.
``Symfony\Bundle\SecurityBundle\Security``.

.. versionadded:: 6.2

Expand Down Expand Up @@ -1783,7 +1783,7 @@ Logout programmatically

The :class:`Symfony\Bundle\SecurityBundle\Security <Symfony\\Bundle\\SecurityBundle\\Security>`
class was introduced in Symfony 6.2. Prior to 6.2, it was called
``Symfony\Component\Security\Core\Security``.
``Symfony\Bundle\SecurityBundle\Security``.

.. versionadded:: 6.2

Expand Down Expand Up @@ -1929,7 +1929,7 @@ If you need to get the logged in user from a service, use the

The :class:`Symfony\\Bundle\\SecurityBundle\\Security` class
was introduced in Symfony 6.2. In previous Symfony versions this class was
defined in ``Symfony\Component\Security\Core\Security``.
defined in ``Symfony\Bundle\SecurityBundle\Security``.

Fetch the User in a Template
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion setup/bundles.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ PHPUnit test report:

Twig Function "form_enctype" is deprecated. Use "form_start" instead in ...

The Symfony\Component\Security\Core\SecurityContext class is deprecated since
The Symfony\Bundle\SecurityBundle\SecurityContext class is deprecated since
version 2.6 and will be removed in 3.0. Use ...

Fix the reported deprecations, run the test suite again and repeat the process
Expand Down