php cs fixes after updating php cs fixer

This commit is contained in:
2024-01-10 10:31:25 +01:00
parent 60ede58af0
commit 3c8e59e088
682 changed files with 2097 additions and 882 deletions

View File

@@ -20,7 +20,9 @@ use Psr\Log\LoggerInterface;
class OldDraftAccompanyingPeriodRemover implements OldDraftAccompanyingPeriodRemoverInterface
{
public function __construct(private readonly EntityManagerInterface $em, private readonly LoggerInterface $logger) {}
public function __construct(private readonly EntityManagerInterface $em, private readonly LoggerInterface $logger)
{
}
public function remove(\DateInterval $interval): void
{

View File

@@ -60,7 +60,8 @@ class AccompanyingPeriodContext implements
private readonly BaseContextData $baseContextData,
private readonly ThirdPartyRender $thirdPartyRender,
private readonly ThirdPartyRepository $thirdPartyRepository
) {}
) {
}
public function adminFormReverseTransform(array $data): array
{

View File

@@ -29,7 +29,9 @@ use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
*/
class AccompanyingPeriodWorkContext implements DocGeneratorContextWithPublicFormInterface
{
public function __construct(private readonly AccompanyingPeriodContext $periodContext, private readonly NormalizerInterface $normalizer) {}
public function __construct(private readonly AccompanyingPeriodContext $periodContext, private readonly NormalizerInterface $normalizer)
{
}
public function adminFormReverseTransform(array $data): array
{

View File

@@ -37,7 +37,9 @@ class AccompanyingPeriodWorkEvaluationContext implements
DocGeneratorContextWithAdminFormInterface,
DocGeneratorContextWithPublicFormInterface
{
public function __construct(private readonly AccompanyingPeriodWorkContext $accompanyingPeriodWorkContext, private readonly EntityManagerInterface $em, private readonly EvaluationRepository $evaluationRepository, private readonly NormalizerInterface $normalizer, private readonly TranslatableStringHelperInterface $translatableStringHelper, private readonly ThirdPartyRender $thirdPartyRender, private readonly TranslatorInterface $translator) {}
public function __construct(private readonly AccompanyingPeriodWorkContext $accompanyingPeriodWorkContext, private readonly EntityManagerInterface $em, private readonly EvaluationRepository $evaluationRepository, private readonly NormalizerInterface $normalizer, private readonly TranslatableStringHelperInterface $translatableStringHelper, private readonly ThirdPartyRender $thirdPartyRender, private readonly TranslatorInterface $translator)
{
}
public function adminFormReverseTransform(array $data): array
{

View File

@@ -31,7 +31,8 @@ class PersonContextWithThirdParty implements DocGeneratorContextWithAdminFormInt
private readonly PersonContextInterface $personContext,
private readonly NormalizerInterface $normalizer,
private readonly ThirdPartyRepository $thirdPartyRepository
) {}
) {
}
public function adminFormReverseTransform(array $data): array
{

View File

@@ -21,7 +21,8 @@ class AccompanyingPeriodViewEntityInfoProvider implements ViewEntityInfoProvider
*/
private readonly iterable $unions,
private readonly AccompanyingPeriodInfoQueryBuilder $builder,
) {}
) {
}
public function getViewQuery(): string
{

View File

@@ -30,7 +30,8 @@ final readonly class AccompanyingPeriodWorkEvaluationGenericDocProvider implemen
public function __construct(
private Security $security,
private EntityManagerInterface $entityManager,
) {}
) {
}
public function buildFetchQueryForAccompanyingPeriod(AccompanyingPeriod $accompanyingPeriod, \DateTimeImmutable $startDate = null, \DateTimeImmutable $endDate = null, string $content = null, string $origin = null): FetchQueryInterface
{

View File

@@ -20,7 +20,8 @@ final readonly class AccompanyingPeriodWorkEvaluationGenericDocRenderer implemen
{
public function __construct(
private AccompanyingPeriodWorkEvaluationDocumentRepository $accompanyingPeriodWorkEvaluationDocumentRepository,
) {}
) {
}
public function supports(GenericDocDTO $genericDocDTO, $options = []): bool
{

View File

@@ -27,7 +27,9 @@ use Doctrine\Persistence\ObjectRepository;
final readonly class SocialWorkMetadata implements SocialWorkMetadataInterface
{
public function __construct(private SocialIssueRepository $socialIssueRepository, private SocialActionRepository $socialActionRepository, private GoalRepository $goalRepository, private ResultRepository $resultRepository, private EvaluationRepository $evaluationRepository, private EntityManagerInterface $entityManager) {}
public function __construct(private SocialIssueRepository $socialIssueRepository, private SocialActionRepository $socialActionRepository, private GoalRepository $goalRepository, private ResultRepository $resultRepository, private EvaluationRepository $evaluationRepository, private EntityManagerInterface $entityManager)
{
}
/**
* @throws \Exception

View File

@@ -11,4 +11,6 @@ declare(strict_types=1);
namespace Chill\PersonBundle\Service\Import;
interface SocialWorkMetadataInterface extends ChillImporter {}
interface SocialWorkMetadataInterface extends ChillImporter
{
}