mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-30 19:43:49 +00:00
PHP CS Fixer updated (3.63.1 -> v3.64.0)
This commit is contained in:
@@ -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(
|
||||
|
@@ -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);
|
||||
|
||||
|
@@ -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);
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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 = [];
|
||||
|
@@ -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;
|
||||
|
@@ -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();
|
||||
|
Reference in New Issue
Block a user