update cs after php-cs-fixer upgrade

This commit is contained in:
2024-09-12 12:02:33 +02:00
parent 5d0b531820
commit f0f651edea
286 changed files with 374 additions and 374 deletions

View File

@@ -37,7 +37,7 @@ class ReportController extends AbstractController
private readonly AuthorizationHelper $authorizationHelper,
private readonly PaginatorFactory $paginator,
private readonly TranslatorInterface $translator,
private readonly \Doctrine\Persistence\ManagerRegistry $managerRegistry
private readonly \Doctrine\Persistence\ManagerRegistry $managerRegistry,
) {}
/**

View File

@@ -60,7 +60,7 @@ class LoadCustomFieldsGroup extends AbstractFixture implements OrderedFixtureInt
private function createReport(
ObjectManager $manager,
array $name,
array $options = []
array $options = [],
) {
echo $name['fr']." \n";

View File

@@ -30,7 +30,7 @@ final class LoadReports extends AbstractFixture implements OrderedFixtureInterfa
private readonly \Faker\Generator $faker;
public function __construct(
private readonly EntityManagerInterface $entityManager
private readonly EntityManagerInterface $entityManager,
) {
$this->faker = FakerFactory::create('fr_FR');
}

View File

@@ -45,7 +45,7 @@ class ReportListProvider implements ExportElementsProviderInterface
EntityManagerInterface $em,
TranslatableStringHelper $translatableStringHelper,
TranslatorInterface $translator,
CustomFieldProvider $customFieldProvider
CustomFieldProvider $customFieldProvider,
) {
$this->em = $em;
$this->translatableStringHelper = $translatableStringHelper;

View File

@@ -31,7 +31,7 @@ final class ReportType extends AbstractType
private readonly AuthorizationHelper $authorizationHelper,
private readonly TokenStorageInterface $tokenStorage,
private readonly TranslatableStringHelper $translatableStringHelper,
private readonly ObjectManager $om
private readonly ObjectManager $om,
) {}
public function buildForm(FormBuilderInterface $builder, array $options)

View File

@@ -411,7 +411,7 @@ final class ReportControllerTest extends WebTestCase
protected function getReportForm(
Person $person,
CustomFieldsGroup $group,
\Symfony\Component\BrowserKit\AbstractBrowser $client
\Symfony\Component\BrowserKit\AbstractBrowser $client,
) {
$url = sprintf(
'fr/person/%d/report/cfgroup/%d/new',

View File

@@ -132,7 +132,7 @@ final class ReportVoterTest extends KernelTestCase
Report $report,
$action,
$message,
?User $user = null
?User $user = null,
) {
$token = $this->prepareToken($user);
$result = $this->voter->vote($token, $report, [$action]);