Skip to content

Commit 5bdc4b4

Browse files
committed
minor #17462 [Security] use new class (94noni)
This PR was merged into the 6.2 branch. Discussion ---------- [Security] use new class Ref https://github.com/symfony/symfony/blob/521d210ca16470437e5c5143c80ab1fb3dc40820/src/Symfony/Component/Security/Core/Security.php#L23 friendly ping `@javiereguiluz` as per slack discuss <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `6.x` for features of unreleased versions). --> Commits ------- a26b165 [Security] use new class
2 parents 8fe54b8 + a26b165 commit 5bdc4b4

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)