aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command
diff options
context:
space:
mode:
authorFaraz Samapoor <fsa@adlas.at>2023-06-13 16:06:16 +0330
committerLouis <6653109+artonge@users.noreply.github.com>2023-06-19 17:44:48 +0200
commitf63c52a396ccee0ffe52f975e6fb41b0da0520f3 (patch)
tree4359944113d8b4b1fbe9bf1008726963c8da6587 /core/Command
parentd83944fd101ca46f53cdb11520ae3b011f62b2b8 (diff)
downloadnextcloud-server-f63c52a396ccee0ffe52f975e6fb41b0da0520f3.tar.gz
nextcloud-server-f63c52a396ccee0ffe52f975e6fb41b0da0520f3.zip
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>
Diffstat (limited to 'core/Command')
-rw-r--r--core/Command/Log/File.php4
-rw-r--r--core/Command/Log/Manage.php4
-rw-r--r--core/Command/Security/ImportCertificate.php4
-rw-r--r--core/Command/Security/RemoveCertificate.php4
-rw-r--r--core/Command/Security/ResetBruteforceAttempts.php4
-rw-r--r--core/Command/SystemTag/Add.php4
-rw-r--r--core/Command/SystemTag/Delete.php4
-rw-r--r--core/Command/SystemTag/Edit.php4
-rw-r--r--core/Command/SystemTag/ListCommand.php4
9 files changed, 27 insertions, 9 deletions
diff --git a/core/Command/Log/File.php b/core/Command/Log/File.php
index 4e3dc97a546..978115d5aeb 100644
--- a/core/Command/Log/File.php
+++ b/core/Command/Log/File.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();
}
diff --git a/core/Command/Log/Manage.php b/core/Command/Log/Manage.php
index 500bc1e8a52..7c25fdf8a6b 100644
--- a/core/Command/Log/Manage.php
+++ b/core/Command/Log/Manage.php
@@ -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();
}
diff --git a/core/Command/Security/ImportCertificate.php b/core/Command/Security/ImportCertificate.php
index f3a44face48..a7e9bd94e4a 100644
--- a/core/Command/Security/ImportCertificate.php
+++ b/core/Command/Security/ImportCertificate.php
@@ -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();
}
diff --git a/core/Command/Security/RemoveCertificate.php b/core/Command/Security/RemoveCertificate.php
index 51ddfc98111..7dcd2d02604 100644
--- a/core/Command/Security/RemoveCertificate.php
+++ b/core/Command/Security/RemoveCertificate.php
@@ -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();
}
diff --git a/core/Command/Security/ResetBruteforceAttempts.php b/core/Command/Security/ResetBruteforceAttempts.php
index a203d1daa10..c0bc265c8f5 100644
--- a/core/Command/Security/ResetBruteforceAttempts.php
+++ b/core/Command/Security/ResetBruteforceAttempts.php
@@ -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();
}
diff --git a/core/Command/SystemTag/Add.php b/core/Command/SystemTag/Add.php
index 7df8d5e03eb..067cd00118a 100644
--- a/core/Command/SystemTag/Add.php
+++ b/core/Command/SystemTag/Add.php
@@ -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();
}
diff --git a/core/Command/SystemTag/Delete.php b/core/Command/SystemTag/Delete.php
index a23b09d4e56..ed893ae037c 100644
--- a/core/Command/SystemTag/Delete.php
+++ b/core/Command/SystemTag/Delete.php
@@ -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();
}
diff --git a/core/Command/SystemTag/Edit.php b/core/Command/SystemTag/Edit.php
index d3c68a2b76e..111dc500e79 100644
--- a/core/Command/SystemTag/Edit.php
+++ b/core/Command/SystemTag/Edit.php
@@ -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();
}
diff --git a/core/Command/SystemTag/ListCommand.php b/core/Command/SystemTag/ListCommand.php
index c968fb14ef2..c0f4eba241c 100644
--- a/core/Command/SystemTag/ListCommand.php
+++ b/core/Command/SystemTag/ListCommand.php
@@ -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();
}