Moves single constructor parameters to new lines.

Based on:
https://github.com/nextcloud/server/pull/38764#discussion_r1227630895

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
pull/38774/head
Faraz Samapoor 2 years ago committed by Louis
parent d83944fd10
commit f63c52a396
  1. 4
      core/Command/Log/File.php
  2. 4
      core/Command/Log/Manage.php
  3. 4
      core/Command/Security/ImportCertificate.php
  4. 4
      core/Command/Security/RemoveCertificate.php
  5. 4
      core/Command/Security/ResetBruteforceAttempts.php
  6. 4
      core/Command/SystemTag/Add.php
  7. 4
      core/Command/SystemTag/Delete.php
  8. 4
      core/Command/SystemTag/Edit.php
  9. 4
      core/Command/SystemTag/ListCommand.php

@ -36,7 +36,9 @@ use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
class File extends Command implements Completion\CompletionAwareInterface {
public function __construct(protected IConfig $config) {
public function __construct(
protected IConfig $config,
) {
parent::__construct();
}

@ -39,7 +39,9 @@ class Manage extends Command implements CompletionAwareInterface {
public const DEFAULT_LOG_LEVEL = 2;
public const DEFAULT_TIMEZONE = 'UTC';
public function __construct(protected IConfig $config) {
public function __construct(
protected IConfig $config,
) {
parent::__construct();
}

@ -30,7 +30,9 @@ use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
class ImportCertificate extends Base {
public function __construct(protected ICertificateManager $certificateManager) {
public function __construct(
protected ICertificateManager $certificateManager,
) {
parent::__construct();
}

@ -30,7 +30,9 @@ use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
class RemoveCertificate extends Base {
public function __construct(protected ICertificateManager $certificateManager) {
public function __construct(
protected ICertificateManager $certificateManager,
) {
parent::__construct();
}

@ -30,7 +30,9 @@ use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
class ResetBruteforceAttempts extends Base {
public function __construct(protected Throttler $throttler) {
public function __construct(
protected Throttler $throttler,
) {
parent::__construct();
}

@ -31,7 +31,9 @@ use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
class Add extends Base {
public function __construct(protected ISystemTagManager $systemTagManager) {
public function __construct(
protected ISystemTagManager $systemTagManager,
) {
parent::__construct();
}

@ -30,7 +30,9 @@ use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
class Delete extends Base {
public function __construct(protected ISystemTagManager $systemTagManager) {
public function __construct(
protected ISystemTagManager $systemTagManager,
) {
parent::__construct();
}

@ -31,7 +31,9 @@ use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
class Edit extends Base {
public function __construct(protected ISystemTagManager $systemTagManager) {
public function __construct(
protected ISystemTagManager $systemTagManager,
) {
parent::__construct();
}

@ -30,7 +30,9 @@ use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
class ListCommand extends Base {
public function __construct(protected ISystemTagManager $systemTagManager) {
public function __construct(
protected ISystemTagManager $systemTagManager,
) {
parent::__construct();
}

Loading…
Cancel
Save