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

@@ -126,7 +126,7 @@ final readonly class ExportFormHelper
private function savedExportDataToFormDataStepExport(
SavedExport $savedExport,
array $formOptions
array $formOptions,
): array {
$builder = $this->formFactory
->createBuilder(
@@ -148,7 +148,7 @@ final readonly class ExportFormHelper
private function savedExportDataToFormDataStepFormatter(
SavedExport $savedExport,
array $formOptions
array $formOptions,
): array {
$builder = $this->formFactory
->createBuilder(

View File

@@ -62,7 +62,7 @@ class ExportManager
private readonly TokenStorageInterface $tokenStorage,
iterable $exports,
iterable $aggregators,
iterable $filters
iterable $filters,
// iterable $formatters,
// iterable $exportElementProvider
) {
@@ -451,7 +451,7 @@ class ExportManager
public function isGrantedForElement(
DirectExportInterface|ExportInterface|ModifierInterface $element,
DirectExportInterface|ExportInterface|null $export = null,
?array $centers = null
?array $centers = null,
): bool {
if ($element instanceof ExportInterface || $element instanceof DirectExportInterface) {
$role = $element->requiredRole();
@@ -533,7 +533,7 @@ class ExportManager
ExportInterface $export,
QueryBuilder $qb,
array $data,
array $center
array $center,
) {
$aggregators = $this->retrieveUsedAggregators($data);
@@ -560,7 +560,7 @@ class ExportManager
ExportInterface $export,
QueryBuilder $qb,
mixed $data,
array $centers
array $centers,
) {
$filters = $this->retrieveUsedFilters($data);

View File

@@ -51,7 +51,7 @@ class CSVFormatter implements FormatterInterface
public function __construct(
protected TranslatorInterface $translator,
ExportManager $manager
ExportManager $manager,
) {
$this->exportManager = $manager;
}
@@ -118,7 +118,7 @@ class CSVFormatter implements FormatterInterface
$exportAlias,
array $exportData,
array $filtersData,
array $aggregatorsData
array $aggregatorsData,
) {
$this->result = $result;
$this->orderingHeaders($formatterData);

View File

@@ -68,7 +68,7 @@ class CSVListFormatter implements FormatterInterface
public function buildForm(
FormBuilderInterface $builder,
$exportAlias,
array $aggregatorAliases
array $aggregatorAliases,
) {
$builder->add('numerotation', ChoiceType::class, [
'choices' => [
@@ -108,7 +108,7 @@ class CSVListFormatter implements FormatterInterface
$exportAlias,
array $exportData,
array $filtersData,
array $aggregatorsData
array $aggregatorsData,
) {
$this->result = $result;
$this->exportAlias = $exportAlias;

View File

@@ -66,7 +66,7 @@ class CSVPivotedListFormatter implements FormatterInterface
public function buildForm(
FormBuilderInterface $builder,
$exportAlias,
array $aggregatorAliases
array $aggregatorAliases,
) {
$builder->add('numerotation', ChoiceType::class, [
'choices' => [
@@ -107,7 +107,7 @@ class CSVPivotedListFormatter implements FormatterInterface
$exportAlias,
array $exportData,
array $filtersData,
array $aggregatorsData
array $aggregatorsData,
) {
$this->result = $result;
$this->exportAlias = $exportAlias;

View File

@@ -129,7 +129,7 @@ class SpreadSheetFormatter implements FormatterInterface
public function buildForm(
FormBuilderInterface $builder,
$exportAlias,
array $aggregatorAliases
array $aggregatorAliases,
) {
// choosing between formats
$builder->add('format', ChoiceType::class, [
@@ -178,7 +178,7 @@ class SpreadSheetFormatter implements FormatterInterface
$exportAlias,
array $exportData,
array $filtersData,
array $aggregatorsData
array $aggregatorsData,
): Response {
// store all data when the process is initiated
$this->result = $result;
@@ -219,7 +219,7 @@ class SpreadSheetFormatter implements FormatterInterface
protected function addContentTable(
Worksheet $worksheet,
$sortedResults,
$line
$line,
) {
$worksheet->fromArray(
$sortedResults,
@@ -274,7 +274,7 @@ class SpreadSheetFormatter implements FormatterInterface
protected function addHeaders(
Worksheet &$worksheet,
array $globalKeys,
$line
$line,
) {
// get the displayable form of headers
$displayables = [];

View File

@@ -72,7 +72,7 @@ class SpreadsheetListFormatter implements FormatterInterface
public function buildForm(
FormBuilderInterface $builder,
$exportAlias,
array $aggregatorAliases
array $aggregatorAliases,
) {
$builder
->add('format', ChoiceType::class, [
@@ -120,7 +120,7 @@ class SpreadsheetListFormatter implements FormatterInterface
$exportAlias,
array $exportData,
array $filtersData,
array $aggregatorsData
array $aggregatorsData,
) {
$this->result = $result;
$this->exportAlias = $exportAlias;

View File

@@ -31,7 +31,7 @@ interface FormatterInterface
public function buildForm(
FormBuilderInterface $builder,
$exportAlias,
array $aggregatorAliases
array $aggregatorAliases,
);
/**
@@ -58,7 +58,7 @@ interface FormatterInterface
$exportAlias,
array $exportData,
array $filtersData,
array $aggregatorsData
array $aggregatorsData,
);
public function getType();