Replace Symfony\Component\Security\Core\Security service alias by use Symfony\Bundle\SecurityBundle\Security in tests mocks.

This commit is contained in:
2026-01-09 17:21:07 +01:00
parent 4b3e3e4b0b
commit e963ada4ad
26 changed files with 27 additions and 27 deletions

View File

@@ -101,7 +101,7 @@ In twig template, resolve the scope:
use Chill\PersonBundle\Security\Authorization\PersonVoter;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Psr\Log\LoggerInterface;
use Symfony\Component\Security\Core\Security;
use Symfony\Bundle\SecurityBundle\Security;
class PersonDocumentVoter extends AbstractChillVoter implements ProvideRoleHierarchyInterface
{
@@ -422,7 +422,7 @@ This is an example of implementation:
use Chill\MainBundle\Entity\User;
use Chill\PersonBundle\Security\Authorization\PersonVoter;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\Security\Core\Security;
use Symfony\Bundle\SecurityBundle\Security;
class PersonDocumentVoter extends AbstractChillVoter implements ProvideRoleHierarchyInterface
{