diff --git a/security.rst b/security.rst index d42d7ef0fbc..84d4546821b 100644 --- a/security.rst +++ b/security.rst @@ -1613,7 +1613,7 @@ Login Programmatically The :class:`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 @@ -1783,7 +1783,7 @@ Logout programmatically The :class:`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 @@ -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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/setup/bundles.rst b/setup/bundles.rst index fe4f59cb819..bf8c205e0b7 100644 --- a/setup/bundles.rst +++ b/setup/bundles.rst @@ -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