diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-01-20 11:45:08 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-01-20 11:45:08 +0100 |
commit | f5c361cf44739058b79f322576a1bad2d8c142d9 (patch) | |
tree | a22217c6995751023112832d191d213e494e2fbc /core/Command | |
parent | 37bb33c5799b834dfef3fb73936bd0e5a4773fb8 (diff) | |
download | nextcloud-server-f5c361cf44739058b79f322576a1bad2d8c142d9.tar.gz nextcloud-server-f5c361cf44739058b79f322576a1bad2d8c142d9.zip |
composer run cs:fix
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'core/Command')
-rw-r--r-- | core/Command/App/ListApps.php | 4 | ||||
-rw-r--r-- | core/Command/Config/ListConfigs.php | 4 | ||||
-rw-r--r-- | core/Command/Maintenance/Install.php | 1 | ||||
-rw-r--r-- | core/Command/Upgrade.php | 8 |
4 files changed, 8 insertions, 9 deletions
diff --git a/core/Command/App/ListApps.php b/core/Command/App/ListApps.php index 6405afc2f68..365ac48e080 100644 --- a/core/Command/App/ListApps.php +++ b/core/Command/App/ListApps.php @@ -107,11 +107,11 @@ class ListApps extends Base { $output->writeln('Disabled:'); parent::writeArrayInOutputFormat($input, $output, $items['disabled']); - break; + break; default: parent::writeArrayInOutputFormat($input, $output, $items); - break; + break; } } diff --git a/core/Command/Config/ListConfigs.php b/core/Command/Config/ListConfigs.php index a0fa9a84ea8..dd8fad72d7c 100644 --- a/core/Command/Config/ListConfigs.php +++ b/core/Command/Config/ListConfigs.php @@ -77,7 +77,7 @@ class ListConfigs extends Base { $configs = [ 'system' => $this->getSystemConfigs($noSensitiveValues), ]; - break; + break; case 'all': $apps = $this->appConfig->getApps(); @@ -88,7 +88,7 @@ class ListConfigs extends Base { foreach ($apps as $appName) { $configs['apps'][$appName] = $this->getAppConfigs($appName, $noSensitiveValues); } - break; + break; default: $configs = [ diff --git a/core/Command/Maintenance/Install.php b/core/Command/Maintenance/Install.php index d53cd867b06..fa93a661906 100644 --- a/core/Command/Maintenance/Install.php +++ b/core/Command/Maintenance/Install.php @@ -74,7 +74,6 @@ class Install extends Command { } protected function execute(InputInterface $input, OutputInterface $output): int { - // validate the environment $server = \OC::$server; $setupHelper = new Setup( diff --git a/core/Command/Upgrade.php b/core/Command/Upgrade.php index d476b91d6bf..e929dc22bc8 100644 --- a/core/Command/Upgrade.php +++ b/core/Command/Upgrade.php @@ -95,10 +95,10 @@ class Upgrade extends Command { $self = $this; $updater = new Updater( - $this->config, - \OC::$server->getIntegrityCodeChecker(), - $this->logger, - $this->installer + $this->config, + \OC::$server->getIntegrityCodeChecker(), + $this->logger, + $this->installer ); /** @var IEventDispatcher $dispatcher */ |