mirror of
https://github.com/wallabag/wallabag.git
synced 2025-03-13 22:52:39 +00:00
Remove legacy PHP-CS-Fixer rule configuration
This commit is contained in:
parent
4fa015bddf
commit
991f11cdf2
5 changed files with 4 additions and 15 deletions
|
@ -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',
|
||||
],
|
||||
|
|
|
@ -64,7 +64,7 @@ class ImportCommand extends Command
|
|||
ElcuratorImport $elcuratorImport,
|
||||
ShaarliImport $shaarliImport,
|
||||
PocketHtmlImport $pocketHtmlImport,
|
||||
OmnivoreImport $omnivoreImport
|
||||
OmnivoreImport $omnivoreImport,
|
||||
) {
|
||||
$this->entityManager = $entityManager;
|
||||
$this->tokenStorage = $tokenStorage;
|
||||
|
|
|
@ -37,7 +37,7 @@ class RabbitMQConsumerTotalProxy
|
|||
Consumer $elcuratorConsumer,
|
||||
Consumer $shaarliConsumer,
|
||||
Consumer $pocketHtmlConsumer,
|
||||
Consumer $omnivoreConsumer
|
||||
Consumer $omnivoreConsumer,
|
||||
) {
|
||||
$this->pocketConsumer = $pocketConsumer;
|
||||
$this->readabilityConsumer = $readabilityConsumer;
|
||||
|
|
|
@ -724,7 +724,7 @@ class EntryRestController extends WallabagRestController
|
|||
LoggerInterface $logger,
|
||||
TagsAssigner $tagsAssigner,
|
||||
EventDispatcherInterface $eventDispatcher,
|
||||
ValidatorInterface $validator
|
||||
ValidatorInterface $validator,
|
||||
) {
|
||||
$this->validateAuthentication();
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ class ConfigController extends AbstractController
|
|||
AnnotationRepository $annotationRepository,
|
||||
ConfigRepository $configRepository,
|
||||
EventDispatcherInterface $eventDispatcher,
|
||||
Redirect $redirectHelper
|
||||
Redirect $redirectHelper,
|
||||
) {
|
||||
$this->entityManager = $entityManager;
|
||||
$this->userManager = $userManager;
|
||||
|
|
Loading…
Reference in a new issue