mirror of
https://github.com/wallabag/wallabag.git
synced 2025-06-27 16:36:00 +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,
|
// 'psr_autoloading' => true,
|
||||||
'strict_comparison' => true,
|
'strict_comparison' => true,
|
||||||
'strict_param' => 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' => [
|
'concat_space' => [
|
||||||
'spacing' => 'one',
|
'spacing' => 'one',
|
||||||
],
|
],
|
||||||
|
|
|
@ -64,7 +64,7 @@ class ImportCommand extends Command
|
||||||
ElcuratorImport $elcuratorImport,
|
ElcuratorImport $elcuratorImport,
|
||||||
ShaarliImport $shaarliImport,
|
ShaarliImport $shaarliImport,
|
||||||
PocketHtmlImport $pocketHtmlImport,
|
PocketHtmlImport $pocketHtmlImport,
|
||||||
OmnivoreImport $omnivoreImport
|
OmnivoreImport $omnivoreImport,
|
||||||
) {
|
) {
|
||||||
$this->entityManager = $entityManager;
|
$this->entityManager = $entityManager;
|
||||||
$this->tokenStorage = $tokenStorage;
|
$this->tokenStorage = $tokenStorage;
|
||||||
|
|
|
@ -37,7 +37,7 @@ class RabbitMQConsumerTotalProxy
|
||||||
Consumer $elcuratorConsumer,
|
Consumer $elcuratorConsumer,
|
||||||
Consumer $shaarliConsumer,
|
Consumer $shaarliConsumer,
|
||||||
Consumer $pocketHtmlConsumer,
|
Consumer $pocketHtmlConsumer,
|
||||||
Consumer $omnivoreConsumer
|
Consumer $omnivoreConsumer,
|
||||||
) {
|
) {
|
||||||
$this->pocketConsumer = $pocketConsumer;
|
$this->pocketConsumer = $pocketConsumer;
|
||||||
$this->readabilityConsumer = $readabilityConsumer;
|
$this->readabilityConsumer = $readabilityConsumer;
|
||||||
|
|
|
@ -724,7 +724,7 @@ class EntryRestController extends WallabagRestController
|
||||||
LoggerInterface $logger,
|
LoggerInterface $logger,
|
||||||
TagsAssigner $tagsAssigner,
|
TagsAssigner $tagsAssigner,
|
||||||
EventDispatcherInterface $eventDispatcher,
|
EventDispatcherInterface $eventDispatcher,
|
||||||
ValidatorInterface $validator
|
ValidatorInterface $validator,
|
||||||
) {
|
) {
|
||||||
$this->validateAuthentication();
|
$this->validateAuthentication();
|
||||||
|
|
||||||
|
|
|
@ -61,7 +61,7 @@ class ConfigController extends AbstractController
|
||||||
AnnotationRepository $annotationRepository,
|
AnnotationRepository $annotationRepository,
|
||||||
ConfigRepository $configRepository,
|
ConfigRepository $configRepository,
|
||||||
EventDispatcherInterface $eventDispatcher,
|
EventDispatcherInterface $eventDispatcher,
|
||||||
Redirect $redirectHelper
|
Redirect $redirectHelper,
|
||||||
) {
|
) {
|
||||||
$this->entityManager = $entityManager;
|
$this->entityManager = $entityManager;
|
||||||
$this->userManager = $userManager;
|
$this->userManager = $userManager;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue