update cs after php-cs-fixer upgrade

This commit is contained in:
2024-09-12 12:02:33 +02:00
parent 5d0b531820
commit f0f651edea
286 changed files with 374 additions and 374 deletions

View File

@@ -26,7 +26,7 @@ class CreatorJobAggregator implements AggregatorInterface
public function __construct(
private readonly UserJobRepository $jobRepository,
private readonly TranslatableStringHelper $translatableStringHelper
private readonly TranslatableStringHelper $translatableStringHelper,
) {}
public function addRole(): ?string

View File

@@ -26,7 +26,7 @@ final readonly class OriginAggregator implements AggregatorInterface
public function __construct(
EntityManagerInterface $em,
private TranslatableStringHelper $translatableStringHelper
private TranslatableStringHelper $translatableStringHelper,
) {
$this->repository = $em->getRepository(Origin::class);
}

View File

@@ -31,7 +31,7 @@ final readonly class ReferrerAggregator implements AggregatorInterface, DataTran
public function __construct(
private UserRepository $userRepository,
private UserRender $userRender,
private RollingDateConverterInterface $rollingDateConverter
private RollingDateConverterInterface $rollingDateConverter,
) {}
public function addRole(): ?string

View File

@@ -26,7 +26,7 @@ final readonly class ByStepAggregator implements AggregatorInterface
private const KEY = 'acpstephistory_step_agg';
public function __construct(
private TranslatorInterface $translator
private TranslatorInterface $translator,
) {}
public function buildForm(FormBuilderInterface $builder)

View File

@@ -24,7 +24,7 @@ class CreatorAggregator implements AggregatorInterface
public function __construct(
private readonly UserRepository $userRepository,
private readonly UserRender $userRender
private readonly UserRender $userRender,
) {}
public function addRole(): ?string

View File

@@ -26,7 +26,7 @@ class CreatorJobAggregator implements AggregatorInterface
public function __construct(
private readonly UserJobRepository $jobRepository,
private readonly TranslatableStringHelper $translatableStringHelper
private readonly TranslatableStringHelper $translatableStringHelper,
) {}
public function addRole(): ?string

View File

@@ -26,7 +26,7 @@ class CreatorScopeAggregator implements AggregatorInterface
public function __construct(
private readonly ScopeRepository $scopeRepository,
private readonly TranslatableStringHelper $translatableStringHelper
private readonly TranslatableStringHelper $translatableStringHelper,
) {}
public function addRole(): ?string

View File

@@ -27,7 +27,7 @@ final readonly class JobAggregator implements AggregatorInterface
public function __construct(
private UserJobRepository $jobRepository,
private TranslatableStringHelper $translatableStringHelper
private TranslatableStringHelper $translatableStringHelper,
) {}
public function addRole(): ?string

View File

@@ -28,7 +28,7 @@ final readonly class ReferrerAggregator implements AggregatorInterface
public function __construct(
private UserRepository $userRepository,
private UserRender $userRender,
private RollingDateConverterInterface $rollingDateConverter
private RollingDateConverterInterface $rollingDateConverter,
) {}
public function addRole(): ?string

View File

@@ -27,7 +27,7 @@ final readonly class ScopeAggregator implements AggregatorInterface
public function __construct(
private ScopeRepository $scopeRepository,
private TranslatableStringHelper $translatableStringHelper
private TranslatableStringHelper $translatableStringHelper,
) {}
public function addRole(): ?string

View File

@@ -29,7 +29,7 @@ class AvgDurationAPWorkPersonAssociatedOnAccompanyingPeriod implements ExportInt
public function __construct(
ParameterBagInterface $parameterBag,
private readonly AccompanyingPeriodWorkRepository $accompanyingPeriodWorkRepository
private readonly AccompanyingPeriodWorkRepository $accompanyingPeriodWorkRepository,
) {
$this->filterStatsByCenters = $parameterBag->get('chill_main')['acl']['filter_stats_by_center'];
}

View File

@@ -29,7 +29,7 @@ class AvgDurationAPWorkPersonAssociatedOnWork implements ExportInterface, Groupe
public function __construct(
ParameterBagInterface $parameterBag,
private readonly AccompanyingPeriodWorkRepository $accompanyingPeriodWorkRepository
private readonly AccompanyingPeriodWorkRepository $accompanyingPeriodWorkRepository,
) {
$this->filterStatsByCenters = $parameterBag->get('chill_main')['acl']['filter_stats_by_center'];
}

View File

@@ -51,7 +51,7 @@ class ListPersonDuplicate implements DirectExportInterface, ExportElementValidat
EntityManagerInterface $em,
private readonly TranslatorInterface $translator,
private readonly UrlGeneratorInterface $router,
$routeParameters
$routeParameters,
) {
$this->entityManager = $em;
$this->baseUrl = $routeParameters['scheme'].

View File

@@ -28,7 +28,7 @@ class CreatorJobFilter implements FilterInterface
public function __construct(
private readonly TranslatableStringHelper $translatableStringHelper,
private readonly UserJobRepositoryInterface $userJobRepository
private readonly UserJobRepositoryInterface $userJobRepository,
) {}
public function addRole(): ?string

View File

@@ -37,7 +37,7 @@ class GeographicalUnitStatFilter implements FilterInterface
private readonly GeographicalUnitRepositoryInterface $geographicalUnitRepository,
private readonly GeographicalUnitLayerRepositoryInterface $geographicalUnitLayerRepository,
private readonly TranslatableStringHelperInterface $translatableStringHelper,
private readonly RollingDateConverterInterface $rollingDateConverter
private readonly RollingDateConverterInterface $rollingDateConverter,
) {}
public function addRole(): ?string

View File

@@ -41,7 +41,7 @@ final readonly class ReferrerFilterBetweenDates implements FilterInterface
public function __construct(
private RollingDateConverterInterface $rollingDateConverter,
private UserRender $userRender
private UserRender $userRender,
) {}
public function addRole(): ?string

View File

@@ -30,7 +30,7 @@ final readonly class SocialActionFilter implements FilterInterface
public function __construct(
private SocialActionRender $actionRender,
private RollingDateConverterInterface $rollingDateConverter,
private TranslatorInterface $translator
private TranslatorInterface $translator,
) {}
public function addRole(): ?string

View File

@@ -30,7 +30,7 @@ class SocialIssueFilter implements FilterInterface
public function __construct(
TranslatorInterface $translator,
private readonly SocialIssueRender $socialIssueRender
private readonly SocialIssueRender $socialIssueRender,
) {
$this->translator = $translator;
}

View File

@@ -32,7 +32,7 @@ use Symfony\Component\Form\FormBuilderInterface;
final readonly class ByDateFilter implements FilterInterface
{
public function __construct(
private RollingDateConverterInterface $rollingDateConverter
private RollingDateConverterInterface $rollingDateConverter,
) {}
public function getTitle()

View File

@@ -27,7 +27,7 @@ readonly class CompositionFilter implements FilterInterface
{
public function __construct(
private TranslatableStringHelper $translatableStringHelper,
private RollingDateConverterInterface $rollingDateConverter
private RollingDateConverterInterface $rollingDateConverter,
) {}
public function addRole(): ?string

View File

@@ -28,7 +28,7 @@ class CreatorJobFilter implements FilterInterface
public function __construct(
private readonly UserJobRepository $userJobRepository,
private readonly TranslatableStringHelper $translatableStringHelper
private readonly TranslatableStringHelper $translatableStringHelper,
) {}
public function addRole(): ?string

View File

@@ -28,7 +28,7 @@ class CreatorScopeFilter implements FilterInterface
public function __construct(
private readonly ScopeRepository $scopeRepository,
private readonly TranslatableStringHelper $translatableStringHelper
private readonly TranslatableStringHelper $translatableStringHelper,
) {}
public function addRole(): ?string

View File

@@ -30,7 +30,7 @@ class ScopeFilter implements FilterInterface
public function __construct(
protected TranslatorInterface $translator,
private readonly TranslatableStringHelper $translatableStringHelper,
private readonly ScopeRepositoryInterface $scopeRepository
private readonly ScopeRepositoryInterface $scopeRepository,
) {}
public function addRole(): ?string

View File

@@ -87,7 +87,7 @@ final readonly class ListAccompanyingPeriodHelper
private TranslatorInterface $translator,
private UserHelper $userHelper,
private LabelPersonHelper $labelPersonHelper,
private CenterRepository $centerRepository
private CenterRepository $centerRepository,
) {}
public function getQueryKeys($data)