PHP CS Fixer updated (3.63.1 -> v3.64.0)

This commit is contained in:
2024-09-04 14:38:56 +02:00
parent 063bc2857f
commit 313fb9ffdf
302 changed files with 391 additions and 391 deletions

View File

@@ -33,7 +33,7 @@ class AuthorizationHelper implements AuthorizationHelperInterface
private readonly LoggerInterface $logger,
private readonly ScopeResolverDispatcher $scopeResolverDispatcher,
private readonly UserACLAwareRepositoryInterface $userACLAwareRepository,
private readonly ParentRoleHelper $parentRoleHelper
private readonly ParentRoleHelper $parentRoleHelper,
) {}
/**

View File

@@ -17,7 +17,7 @@ final readonly class DefaultVoterHelper implements VoterHelperInterface
{
public function __construct(
private AuthorizationHelper $authorizationHelper,
private array $configuration
private array $configuration,
) {}
public function supports($attribute, $subject): bool

View File

@@ -30,7 +30,7 @@ class ParentRoleHelper
public function __construct(
protected RoleHierarchyInterface $roleHierarchy,
ParameterBagInterface $parameterBag
ParameterBagInterface $parameterBag,
) {
$this->hierarchy = $parameterBag->get('security.role_hierarchy.roles');
}

View File

@@ -47,7 +47,7 @@ class RecoverPasswordHelper
array $templateParameters = [],
$force = false,
array $additionalUrlParameters = [],
$emailSubject = 'Recover your password'
$emailSubject = 'Recover your password',
) {
if (null === $user->getEmail() || '' === trim($user->getEmail())) {
throw new \UnexpectedValueException('No emaail associated to the user');

View File

@@ -25,7 +25,7 @@ class RoleProvider
/**
* @var iterable<ProvideRoleInterface>
*/
private readonly iterable $providers
private readonly iterable $providers,
) {}
public function getRoles(): array