DX [cs-fixer] fixes

This commit is contained in:
Julie Lenaerts 2023-05-24 14:02:05 +02:00
parent 04359f27c6
commit a31c4063a1
9 changed files with 1 additions and 13 deletions

View File

@ -36,5 +36,4 @@ class SynchronizeEntityInfoViewsCommand extends Command
return 0; return 0;
} }
} }

View File

@ -163,7 +163,6 @@ final class PermissionsGroupController extends AbstractController
*/ */
public function deleteLinkRoleScopeAction(int $pgid, int $rsid): Response public function deleteLinkRoleScopeAction(int $pgid, int $rsid): Response
{ {
$permissionsGroup = $this->permissionsGroupRepository->find($pgid); $permissionsGroup = $this->permissionsGroupRepository->find($pgid);
$roleScope = $this->roleScopeRepository->find($rsid); $roleScope = $this->roleScopeRepository->find($rsid);

View File

@ -141,5 +141,4 @@ final readonly class UserExportController
] ]
); );
} }
} }

View File

@ -34,5 +34,4 @@ class AccompanyingPeriodStepChangeMessageHandler implements MessageHandlerInterf
($this->changer)($period, $message->getTransition()); ($this->changer)($period, $message->getTransition());
} }
} }

View File

@ -84,5 +84,4 @@ class AccompanyingPeriodStepChangeRequestor
$this->messageBus->dispatch(new AccompanyingPeriodStepChangeRequestMessage($accompanyingPeriodId, 'mark_active')); $this->messageBus->dispatch(new AccompanyingPeriodStepChangeRequestMessage($accompanyingPeriodId, 'mark_active'));
} }
} }
} }

View File

@ -107,7 +107,6 @@ class ListHouseholdInPeriod implements ListInterface, GroupedExportInterface
return $this->aggregateStringHelper->getLabelMulti($key, $values, 'export.list.household.' . $key); return $this->aggregateStringHelper->getLabelMulti($key, $values, 'export.list.household.' . $key);
case 'compositionType': case 'compositionType':
//dump($values);
return $this->translatableStringHelper->getLabel($key, $values, 'export.list.household.' . $key); return $this->translatableStringHelper->getLabel($key, $values, 'export.list.household.' . $key);
default: default:

View File

@ -89,5 +89,4 @@ readonly class AccompanyingPeriodInfoRepository implements AccompanyingPeriodInf
{ {
return AccompanyingPeriodInfo::class; return AccompanyingPeriodInfo::class;
} }
} }

View File

@ -51,5 +51,4 @@ class AccompanyingPeriodStepChangeCronjobTest extends TestCase
// can not run: not enough elapsed time // can not run: not enough elapsed time
yield ['2023-01-15T01:00:00+02:00', new \DateTimeImmutable('2023-01-15T00:30:00+02:00'), false]; yield ['2023-01-15T01:00:00+02:00', new \DateTimeImmutable('2023-01-15T00:30:00+02:00'), false];
} }
} }

View File

@ -78,17 +78,13 @@ final class SocialWorkTypeFilterTest extends AbstractFilterTest
$goals = array_unique($goals); $goals = array_unique($goals);
$results = array_unique($results); $results = array_unique($results);
$data = [ return [
[ [
'actionType' => implode(',', $actions), 'actionType' => implode(',', $actions),
'goal' => implode(',', $goals), 'goal' => implode(',', $goals),
'result' => implode(',', $results), 'result' => implode(',', $results),
], ],
]; ];
/// TODO ne fonctionne pas
var_dump($data);
return $data;
} }
public function getQueryBuilders(): array public function getQueryBuilders(): array