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

@@ -71,7 +71,9 @@ class AccompanyingPeriodDocGenNormalizer implements ContextAwareNormalizerInterf
'pinnedComment' => AccompanyingPeriod\Comment::class,
];
public function __construct(private readonly TranslatorInterface $translator, private readonly TranslatableStringHelper $translatableStringHelper, private readonly SocialIssueRender $socialIssueRender, private readonly ClosingMotiveRender $closingMotiveRender, private readonly ScopeResolverDispatcher $scopeResolverDispatcher) {}
public function __construct(private readonly TranslatorInterface $translator, private readonly TranslatableStringHelper $translatableStringHelper, private readonly SocialIssueRender $socialIssueRender, private readonly ClosingMotiveRender $closingMotiveRender, private readonly ScopeResolverDispatcher $scopeResolverDispatcher)
{
}
/**
* @param AccompanyingPeriod|null $period

View File

@@ -28,7 +28,9 @@ class AccompanyingPeriodResourceNormalizer implements DenormalizerAwareInterface
use ObjectToPopulateTrait;
public function __construct(private readonly ResourceRepository $repository) {}
public function __construct(private readonly ResourceRepository $repository)
{
}
public function denormalize($data, $type, $format = null, array $context = [])
{

View File

@@ -35,7 +35,9 @@ class AccompanyingPeriodWorkDenormalizer implements ContextAwareDenormalizerInte
final public const GROUP_EDIT = 'accompanying_period_work:edit';
public function __construct(private readonly AccompanyingPeriodWorkRepository $workRepository, private readonly EntityManagerInterface $em) {}
public function __construct(private readonly AccompanyingPeriodWorkRepository $workRepository, private readonly EntityManagerInterface $em)
{
}
public function denormalize($data, $type, $format = null, array $context = [])
{

View File

@@ -25,7 +25,9 @@ class AccompanyingPeriodWorkEvaluationDocumentNormalizer implements ContextAware
private const SKIP = 'accompanying_period_work_evaluation_document_skip';
public function __construct(private readonly EntityWorkflowRepository $entityWorkflowRepository, private readonly MetadataExtractor $metadataExtractor, private readonly Registry $registry) {}
public function __construct(private readonly EntityWorkflowRepository $entityWorkflowRepository, private readonly MetadataExtractor $metadataExtractor, private readonly Registry $registry)
{
}
public function normalize($object, string $format = null, array $context = []): array
{

View File

@@ -26,7 +26,9 @@ class AccompanyingPeriodWorkEvaluationNormalizer implements ContextAwareNormaliz
private const IGNORE_EVALUATION = 'evaluation:ignore';
public function __construct(private readonly Registry $registry, private readonly EntityWorkflowRepository $entityWorkflowRepository, private readonly MetadataExtractor $metadataExtractor) {}
public function __construct(private readonly Registry $registry, private readonly EntityWorkflowRepository $entityWorkflowRepository, private readonly MetadataExtractor $metadataExtractor)
{
}
/**
* @param AccompanyingPeriodWorkEvaluation $object

View File

@@ -28,7 +28,9 @@ class AccompanyingPeriodWorkNormalizer implements ContextAwareNormalizerInterfac
private const IGNORE_WORK = 'ignore:work';
public function __construct(private readonly Registry $registry, private readonly EntityWorkflowRepository $entityWorkflowRepository, private readonly MetadataExtractor $metadataExtractor) {}
public function __construct(private readonly Registry $registry, private readonly EntityWorkflowRepository $entityWorkflowRepository, private readonly MetadataExtractor $metadataExtractor)
{
}
/**
* @param AccompanyingPeriodWork $object

View File

@@ -27,7 +27,9 @@ class MembersEditorNormalizer implements DenormalizerAwareInterface, Denormalize
{
use DenormalizerAwareTrait;
public function __construct(private readonly MembersEditorFactory $factory) {}
public function __construct(private readonly MembersEditorFactory $factory)
{
}
public function denormalize($data, $type, $format = null, array $context = [])
{

View File

@@ -40,7 +40,9 @@ class PersonDocGenNormalizer implements
private const CIRCULAR_KEY = 'person:circular';
public function __construct(private readonly PersonRenderInterface $personRender, private readonly RelationshipRepository $relationshipRepository, private readonly TranslatorInterface $translator, private readonly TranslatableStringHelper $translatableStringHelper, private readonly SummaryBudgetInterface $summaryBudget) {}
public function __construct(private readonly PersonRenderInterface $personRender, private readonly RelationshipRepository $relationshipRepository, private readonly TranslatorInterface $translator, private readonly TranslatableStringHelper $translatableStringHelper, private readonly SummaryBudgetInterface $summaryBudget)
{
}
public function normalize($person, $format = null, array $context = [])
{

View File

@@ -48,7 +48,8 @@ class PersonJsonNormalizer implements DenormalizerAwareInterface, NormalizerAwar
private readonly CenterResolverManagerInterface $centerResolverManager,
private readonly ResidentialAddressRepository $residentialAddressRepository,
private readonly PhoneNumberHelperInterface $phoneNumberHelper
) {}
) {
}
public function denormalize($data, $type, $format = null, array $context = [])
{

View File

@@ -19,4 +19,6 @@ use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
*/
interface PersonJsonNormalizerInterface extends
DenormalizerInterface,
NormalizerInterface {}
NormalizerInterface
{
}

View File

@@ -22,7 +22,9 @@ class RelationshipDocGenNormalizer implements ContextAwareNormalizerInterface, N
{
use NormalizerAwareTrait;
public function __construct(private readonly TranslatableStringHelperInterface $translatableStringHelper) {}
public function __construct(private readonly TranslatableStringHelperInterface $translatableStringHelper)
{
}
/**
* @param Relationship $relation

View File

@@ -21,7 +21,9 @@ class SocialActionNormalizer implements NormalizerAwareInterface, NormalizerInte
{
use NormalizerAwareTrait;
public function __construct(private readonly SocialActionRender $render) {}
public function __construct(private readonly SocialActionRender $render)
{
}
public function normalize($socialAction, $format = null, array $context = [])
{

View File

@@ -21,7 +21,9 @@ class SocialIssueNormalizer implements ContextAwareNormalizerInterface, Normaliz
{
use NormalizerAwareTrait;
public function __construct(private readonly SocialIssueRender $render) {}
public function __construct(private readonly SocialIssueRender $render)
{
}
public function normalize($socialIssue, $format = null, array $context = [])
{

View File

@@ -25,7 +25,9 @@ class WorkflowNormalizer implements ContextAwareNormalizerInterface, NormalizerA
private const IGNORE_ENTITY_WORKFLOW = 'ignore:entity_workflow';
public function __construct(private readonly Registry $registry, private readonly MetadataExtractor $metadataExtractor) {}
public function __construct(private readonly Registry $registry, private readonly MetadataExtractor $metadataExtractor)
{
}
/**
* @param EntityWorkflow $object