@@ -105,13 +105,13 @@ discard block |
||
105 | 105 | |
106 | 106 | if ($this->memoryInfo->isMemoryLimitSufficient() === false) { |
107 | 107 | $output->getErrorOutput()->writeln( |
108 | - '<comment>The current PHP memory limit ' . |
|
108 | + '<comment>The current PHP memory limit '. |
|
109 | 109 | 'is below the recommended value of 512MB.</comment>' |
110 | 110 | ); |
111 | 111 | } |
112 | 112 | |
113 | 113 | try { |
114 | - require_once __DIR__ . '/../../../core/register_command.php'; |
|
114 | + require_once __DIR__.'/../../../core/register_command.php'; |
|
115 | 115 | if ($this->config->getSystemValueBool('installed', false)) { |
116 | 116 | if (\OCP\Util::needUpgrade()) { |
117 | 117 | throw new NeedsUpdateException(); |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | } |
133 | 133 | // load from register_command.php |
134 | 134 | \OC_App::registerAutoloading($app, $appPath); |
135 | - $file = $appPath . '/appinfo/register_command.php'; |
|
135 | + $file = $appPath.'/appinfo/register_command.php'; |
|
136 | 136 | if (file_exists($file)) { |
137 | 137 | try { |
138 | 138 | require $file; |
@@ -160,8 +160,8 @@ discard block |
||
160 | 160 | $errors = \OC_Util::checkServer(\OC::$server->getSystemConfig()); |
161 | 161 | if (!empty($errors)) { |
162 | 162 | foreach ($errors as $error) { |
163 | - $output->writeln((string)$error['error']); |
|
164 | - $output->writeln((string)$error['hint']); |
|
163 | + $output->writeln((string) $error['error']); |
|
164 | + $output->writeln((string) $error['hint']); |
|
165 | 165 | $output->writeln(''); |
166 | 166 | } |
167 | 167 | throw new \Exception("Environment not properly prepared."); |
@@ -220,7 +220,7 @@ discard block |
||
220 | 220 | try { |
221 | 221 | $c = new $command(); |
222 | 222 | } catch (\ArgumentCountError $e2) { |
223 | - throw new \Exception("Failed to construct console command '$command': " . $e->getMessage(), 0, $e); |
|
223 | + throw new \Exception("Failed to construct console command '$command': ".$e->getMessage(), 0, $e); |
|
224 | 224 | } |
225 | 225 | } else { |
226 | 226 | throw new \Exception("Console command '$command' is unknown and could not be loaded"); |