Upgrade of php-cs-fixer

This commit is contained in:
2024-09-11 14:21:32 +02:00
parent 8b1b255050
commit d0ee381627
273 changed files with 357 additions and 357 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,
) {
}

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

@@ -49,7 +49,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');