diff options
author | Côme Chilliet <91878298+come-nc@users.noreply.github.com> | 2023-01-20 15:26:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-20 15:26:17 +0100 |
commit | 3f231d68d7066d605f261f652f5263613d56ada4 (patch) | |
tree | e7ee5a3e8b7ab5292d7b8dfdcb024726304d4894 /core/Command | |
parent | 473c546b5c562e19ba8f9d3aef9cd64d2458cda7 (diff) | |
parent | f5c361cf44739058b79f322576a1bad2d8c142d9 (diff) | |
download | nextcloud-server-3f231d68d7066d605f261f652f5263613d56ada4.tar.gz nextcloud-server-3f231d68d7066d605f261f652f5263613d56ada4.zip |
Merge pull request #36271 from nextcloud/fix/fix-codestyle
Fix codestyle using codesniffer
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 */ |