Skip to content

Commit a26b165

Browse files
committed
[Security] use new class
1 parent dfaf3dd commit a26b165

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

security.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1613,7 +1613,7 @@ Login Programmatically
16131613

16141614
The :class:`Symfony\Bundle\SecurityBundle\Security <Symfony\\Bundle\\SecurityBundle\\Security>`
16151615
class was introduced in Symfony 6.2. Prior to 6.2, it was called
1616-
``Symfony\Component\Security\Core\Security``.
1616+
``Symfony\Bundle\SecurityBundle\Security``.
16171617

16181618
.. versionadded:: 6.2
16191619

@@ -1783,7 +1783,7 @@ Logout programmatically
17831783

17841784
The :class:`Symfony\Bundle\SecurityBundle\Security <Symfony\\Bundle\\SecurityBundle\\Security>`
17851785
class was introduced in Symfony 6.2. Prior to 6.2, it was called
1786-
``Symfony\Component\Security\Core\Security``.
1786+
``Symfony\Bundle\SecurityBundle\Security``.
17871787

17881788
.. versionadded:: 6.2
17891789

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

19301930
The :class:`Symfony\\Bundle\\SecurityBundle\\Security` class
19311931
was introduced in Symfony 6.2. In previous Symfony versions this class was
1932-
defined in ``Symfony\Component\Security\Core\Security``.
1932+
defined in ``Symfony\Bundle\SecurityBundle\Security``.
19331933

19341934
Fetch the User in a Template
19351935
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

setup/bundles.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ PHPUnit test report:
8181
8282
Twig Function "form_enctype" is deprecated. Use "form_start" instead in ...
8383
84-
The Symfony\Component\Security\Core\SecurityContext class is deprecated since
84+
The Symfony\Bundle\SecurityBundle\SecurityContext class is deprecated since
8585
version 2.6 and will be removed in 3.0. Use ...
8686
8787
Fix the reported deprecations, run the test suite again and repeat the process

0 commit comments

Comments
 (0)