From eddcfc39213b1ef643b8b0a1f46136d5b82b9e64 Mon Sep 17 00:00:00 2001 From: Mathieu Jaumotte Date: Thu, 28 Sep 2023 16:57:08 +0200 Subject: [PATCH] cs-fixer --- .../Export/Aggregator/ActivityUsersJobAggregator.php | 3 ++- .../Export/Aggregator/ActivityUsersScopeAggregator.php | 3 ++- .../Export/Aggregator/CreatorScopeAggregator.php | 3 ++- .../src/Export/Aggregator/ByUserJobAggregator.php | 3 ++- .../src/Export/Aggregator/ByUserScopeAggregator.php | 3 ++- .../AccompanyingCourseAggregators/CreatorJobAggregator.php | 3 ++- .../JobWorkingOnCourseAggregator.php | 5 +++-- .../ScopeWorkingOnCourseAggregator.php | 3 ++- 8 files changed, 17 insertions(+), 9 deletions(-) diff --git a/src/Bundle/ChillActivityBundle/Export/Aggregator/ActivityUsersJobAggregator.php b/src/Bundle/ChillActivityBundle/Export/Aggregator/ActivityUsersJobAggregator.php index 8e2b41025..7c7428b45 100644 --- a/src/Bundle/ChillActivityBundle/Export/Aggregator/ActivityUsersJobAggregator.php +++ b/src/Bundle/ChillActivityBundle/Export/Aggregator/ActivityUsersJobAggregator.php @@ -61,7 +61,8 @@ class ActivityUsersJobAggregator implements AggregatorInterface ) ->addSelect("IDENTITY({$p}_history.job) AS {$p}_select") ->setParameter( - "{$p}_at", $this->rollingDateConverter->convert($data['job_at']) + "{$p}_at", + $this->rollingDateConverter->convert($data['job_at']) ) ->addGroupBy("{$p}_select"); } diff --git a/src/Bundle/ChillActivityBundle/Export/Aggregator/ActivityUsersScopeAggregator.php b/src/Bundle/ChillActivityBundle/Export/Aggregator/ActivityUsersScopeAggregator.php index 3d05af976..7c02e929f 100644 --- a/src/Bundle/ChillActivityBundle/Export/Aggregator/ActivityUsersScopeAggregator.php +++ b/src/Bundle/ChillActivityBundle/Export/Aggregator/ActivityUsersScopeAggregator.php @@ -61,7 +61,8 @@ class ActivityUsersScopeAggregator implements AggregatorInterface ) ->addSelect("IDENTITY({$p}_history.scope) AS {$p}_select") ->setParameter( - "{$p}_at", $this->rollingDateConverter->convert($data['scope_at']) + "{$p}_at", + $this->rollingDateConverter->convert($data['scope_at']) ) ->addGroupBy("{$p}_select"); } diff --git a/src/Bundle/ChillActivityBundle/Export/Aggregator/CreatorScopeAggregator.php b/src/Bundle/ChillActivityBundle/Export/Aggregator/CreatorScopeAggregator.php index 5841cb20f..ce00d81bd 100644 --- a/src/Bundle/ChillActivityBundle/Export/Aggregator/CreatorScopeAggregator.php +++ b/src/Bundle/ChillActivityBundle/Export/Aggregator/CreatorScopeAggregator.php @@ -61,7 +61,8 @@ class CreatorScopeAggregator implements AggregatorInterface ) ->addSelect("IDENTITY({$p}_history.scope) AS {$p}_select") ->setParameter( - "{$p}_at", $this->rollingDateConverter->convert($data['scope_at']) + "{$p}_at", + $this->rollingDateConverter->convert($data['scope_at']) ) ->addGroupBy("{$p}_select"); } diff --git a/src/Bundle/ChillAsideActivityBundle/src/Export/Aggregator/ByUserJobAggregator.php b/src/Bundle/ChillAsideActivityBundle/src/Export/Aggregator/ByUserJobAggregator.php index 4be1aa669..be54e2251 100644 --- a/src/Bundle/ChillAsideActivityBundle/src/Export/Aggregator/ByUserJobAggregator.php +++ b/src/Bundle/ChillAsideActivityBundle/src/Export/Aggregator/ByUserJobAggregator.php @@ -63,7 +63,8 @@ class ByUserJobAggregator implements AggregatorInterface ) ->addSelect("IDENTITY({$p}_history.job) AS {$p}_select") ->setParameter( - "{$p}_at", $this->rollingDateConverter->convert($data['job_at']) + "{$p}_at", + $this->rollingDateConverter->convert($data['job_at']) ) ->addGroupBy("{$p}_select"); } diff --git a/src/Bundle/ChillAsideActivityBundle/src/Export/Aggregator/ByUserScopeAggregator.php b/src/Bundle/ChillAsideActivityBundle/src/Export/Aggregator/ByUserScopeAggregator.php index fc8a8cbab..ad2000a6c 100644 --- a/src/Bundle/ChillAsideActivityBundle/src/Export/Aggregator/ByUserScopeAggregator.php +++ b/src/Bundle/ChillAsideActivityBundle/src/Export/Aggregator/ByUserScopeAggregator.php @@ -61,7 +61,8 @@ class ByUserScopeAggregator implements AggregatorInterface ) ->addSelect("IDENTITY({$p}_history.scope) AS {$p}_select") ->setParameter( - "{$p}_at", $this->rollingDateConverter->convert($data['scope_at']) + "{$p}_at", + $this->rollingDateConverter->convert($data['scope_at']) ) ->addGroupBy("{$p}_select"); } diff --git a/src/Bundle/ChillPersonBundle/Export/Aggregator/AccompanyingCourseAggregators/CreatorJobAggregator.php b/src/Bundle/ChillPersonBundle/Export/Aggregator/AccompanyingCourseAggregators/CreatorJobAggregator.php index c9d8cbde8..81e5e78dc 100644 --- a/src/Bundle/ChillPersonBundle/Export/Aggregator/AccompanyingCourseAggregators/CreatorJobAggregator.php +++ b/src/Bundle/ChillPersonBundle/Export/Aggregator/AccompanyingCourseAggregators/CreatorJobAggregator.php @@ -61,7 +61,8 @@ class CreatorJobAggregator implements AggregatorInterface ) ->addSelect("IDENTITY({$p}_history.job) AS {$p}_select") ->setParameter( - "{$p}_at", $this->rollingDateConverter->convert($data['job_at']) + "{$p}_at", + $this->rollingDateConverter->convert($data['job_at']) ) ->addGroupBy("{$p}_select"); } diff --git a/src/Bundle/ChillPersonBundle/Export/Aggregator/AccompanyingCourseAggregators/JobWorkingOnCourseAggregator.php b/src/Bundle/ChillPersonBundle/Export/Aggregator/AccompanyingCourseAggregators/JobWorkingOnCourseAggregator.php index 39a9fda83..ccc108cd0 100644 --- a/src/Bundle/ChillPersonBundle/Export/Aggregator/AccompanyingCourseAggregators/JobWorkingOnCourseAggregator.php +++ b/src/Bundle/ChillPersonBundle/Export/Aggregator/AccompanyingCourseAggregators/JobWorkingOnCourseAggregator.php @@ -48,7 +48,7 @@ final readonly class JobWorkingOnCourseAggregator implements AggregatorInterface AccompanyingPeriodInfo::class, "acpinfo", Join::WITH, - $qb->expr()->eq( "IDENTITY(acpinfo.accompanyingPeriod)", "acp.id") + $qb->expr()->eq("IDENTITY(acpinfo.accompanyingPeriod)", "acp.id") ) ->leftJoin("acpinfo.user", "{$p}_user") ->leftJoin( @@ -68,7 +68,8 @@ final readonly class JobWorkingOnCourseAggregator implements AggregatorInterface ) ->addSelect("IDENTITY({$p}_history.job) AS {$p}_select") ->setParameter( - "{$p}_at", $this->rollingDateConverter->convert($data['job_at']) + "{$p}_at", + $this->rollingDateConverter->convert($data['job_at']) ) ->addGroupBy("{$p}_select"); } diff --git a/src/Bundle/ChillPersonBundle/Export/Aggregator/AccompanyingCourseAggregators/ScopeWorkingOnCourseAggregator.php b/src/Bundle/ChillPersonBundle/Export/Aggregator/AccompanyingCourseAggregators/ScopeWorkingOnCourseAggregator.php index 8b2529be9..08bddabb5 100644 --- a/src/Bundle/ChillPersonBundle/Export/Aggregator/AccompanyingCourseAggregators/ScopeWorkingOnCourseAggregator.php +++ b/src/Bundle/ChillPersonBundle/Export/Aggregator/AccompanyingCourseAggregators/ScopeWorkingOnCourseAggregator.php @@ -68,7 +68,8 @@ final readonly class ScopeWorkingOnCourseAggregator implements AggregatorInterfa ) ->addSelect("IDENTITY({$p}_history.scope) AS {$p}_select") ->setParameter( - "{$p}_at", $this->rollingDateConverter->convert($data['scope_at']) + "{$p}_at", + $this->rollingDateConverter->convert($data['scope_at']) ) ->addGroupBy("{$p}_select"); }