Remove legacy PHP-CS-Fixer rule configuration

This commit is contained in:
Yassine Guedidi 2025-01-25 01:22:43 +01:00
parent 4fa015bddf
commit 991f11cdf2
5 changed files with 4 additions and 15 deletions

View file

@ -37,17 +37,6 @@ return $config
// 'psr_autoloading' => true,
'strict_comparison' => true,
'strict_param' => true,
// We override next rule because of current @Symfony ruleSet
// 'parameters' element is breaking PHP 7.4
// https://cs.symfony.com/doc/rules/control_structure/trailing_comma_in_multiline.html
// TODO: remove this configuration after dropping support of PHP 7.4
'trailing_comma_in_multiline' => [
'elements' => [
'arrays',
'array_destructuring',
'match',
],
],
'concat_space' => [
'spacing' => 'one',
],

View file

@ -64,7 +64,7 @@ class ImportCommand extends Command
ElcuratorImport $elcuratorImport,
ShaarliImport $shaarliImport,
PocketHtmlImport $pocketHtmlImport,
OmnivoreImport $omnivoreImport
OmnivoreImport $omnivoreImport,
) {
$this->entityManager = $entityManager;
$this->tokenStorage = $tokenStorage;

View file

@ -37,7 +37,7 @@ class RabbitMQConsumerTotalProxy
Consumer $elcuratorConsumer,
Consumer $shaarliConsumer,
Consumer $pocketHtmlConsumer,
Consumer $omnivoreConsumer
Consumer $omnivoreConsumer,
) {
$this->pocketConsumer = $pocketConsumer;
$this->readabilityConsumer = $readabilityConsumer;

View file

@ -724,7 +724,7 @@ class EntryRestController extends WallabagRestController
LoggerInterface $logger,
TagsAssigner $tagsAssigner,
EventDispatcherInterface $eventDispatcher,
ValidatorInterface $validator
ValidatorInterface $validator,
) {
$this->validateAuthentication();

View file

@ -61,7 +61,7 @@ class ConfigController extends AbstractController
AnnotationRepository $annotationRepository,
ConfigRepository $configRepository,
EventDispatcherInterface $eventDispatcher,
Redirect $redirectHelper
Redirect $redirectHelper,
) {
$this->entityManager = $entityManager;
$this->userManager = $userManager;