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 11 months ago committed by Louis
parent d83944fd10
commit f63c52a396

@ -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