@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | $output->setVerbosity(OutputInterface::VERBOSITY_QUIET); |
99 | 99 | } |
100 | 100 | try { |
101 | - require_once __DIR__ . '/../../../core/register_command.php'; |
|
101 | + require_once __DIR__.'/../../../core/register_command.php'; |
|
102 | 102 | if ($this->config->getSystemValue('installed', false)) { |
103 | 103 | if (\OCP\Util::needUpgrade()) { |
104 | 104 | throw new NeedsUpdateException(); |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | } |
119 | 119 | // load from register_command.php |
120 | 120 | \OC_App::registerAutoloading($app, $appPath); |
121 | - $file = $appPath . '/appinfo/register_command.php'; |
|
121 | + $file = $appPath.'/appinfo/register_command.php'; |
|
122 | 122 | if (file_exists($file)) { |
123 | 123 | try { |
124 | 124 | require $file; |
@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | } else if ($input->getArgument('command') !== '_completion' && $input->getArgument('command') !== 'maintenance:install') { |
132 | 132 | $output->writeln("Nextcloud is not installed - only a limited number of commands are available"); |
133 | 133 | } |
134 | - } catch(NeedsUpdateException $e) { |
|
134 | + } catch (NeedsUpdateException $e) { |
|
135 | 135 | if ($input->getArgument('command') !== '_completion') { |
136 | 136 | $output->writeln("Nextcloud or one of the apps require upgrade - only a limited number of commands are available"); |
137 | 137 | $output->writeln("You may use your browser or the occ upgrade command to do the upgrade"); |
@@ -142,8 +142,8 @@ discard block |
||
142 | 142 | $errors = \OC_Util::checkServer(\OC::$server->getSystemConfig()); |
143 | 143 | if (!empty($errors)) { |
144 | 144 | foreach ($errors as $error) { |
145 | - $output->writeln((string)$error['error']); |
|
146 | - $output->writeln((string)$error['hint']); |
|
145 | + $output->writeln((string) $error['error']); |
|
146 | + $output->writeln((string) $error['hint']); |
|
147 | 147 | $output->writeln(''); |
148 | 148 | } |
149 | 149 | throw new \Exception("Environment not properly prepared."); |
@@ -167,8 +167,8 @@ discard block |
||
167 | 167 | && $input->getArgument('command') !== 'maintenance:mode') { |
168 | 168 | $errOutput = $output->getErrorOutput(); |
169 | 169 | $errOutput->writeln( |
170 | - '<comment>Nextcloud is in maintenance mode - ' . |
|
171 | - 'no apps have been loaded</comment>' . PHP_EOL |
|
170 | + '<comment>Nextcloud is in maintenance mode - '. |
|
171 | + 'no apps have been loaded</comment>'.PHP_EOL |
|
172 | 172 | ); |
173 | 173 | } |
174 | 174 | } |