@@ -128,14 +128,14 @@ discard block |
||
| 128 | 128 | |
| 129 | 129 | |
| 130 | 130 | if ($json) { |
| 131 | - echo json_encode($index, JSON_PRETTY_PRINT) . "\n"; |
|
| 131 | + echo json_encode($index, JSON_PRETTY_PRINT)."\n"; |
|
| 132 | 132 | |
| 133 | 133 | return 0; |
| 134 | 134 | } |
| 135 | 135 | |
| 136 | 136 | $status = $this->statusConvertToString($index->getStatus()); |
| 137 | 137 | $desc = $this->statusAvailable[$status]; |
| 138 | - $output->writeln('current status: <info>' . $status . '</info> (' . $desc . ')'); |
|
| 138 | + $output->writeln('current status: <info>'.$status.'</info> ('.$desc.')'); |
|
| 139 | 139 | |
| 140 | 140 | return 0; |
| 141 | 141 | } |
@@ -196,7 +196,7 @@ discard block |
||
| 196 | 196 | return IIndex::INDEX_FAILED; |
| 197 | 197 | } |
| 198 | 198 | |
| 199 | - throw new Exception("Specify a valid status: " . implode(', ', array_keys($this->statusAvailable))); |
|
| 199 | + throw new Exception("Specify a valid status: ".implode(', ', array_keys($this->statusAvailable))); |
|
| 200 | 200 | } |
| 201 | 201 | |
| 202 | 202 | } |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | } |
| 106 | 106 | |
| 107 | 107 | $output->writeln( |
| 108 | - 'Full text search ' . $this->configService->getAppValue('installed_version') |
|
| 108 | + 'Full text search '.$this->configService->getAppValue('installed_version') |
|
| 109 | 109 | ); |
| 110 | 110 | $output->writeln(' '); |
| 111 | 111 | |
@@ -181,12 +181,12 @@ discard block |
||
| 181 | 181 | } |
| 182 | 182 | |
| 183 | 183 | $select = $this->configService->getAppValue(ConfigService::SEARCH_PLATFORM); |
| 184 | - $output->writeln('- Search Platform:' . (($select === '') ? ' (none selected)' : '')); |
|
| 184 | + $output->writeln('- Search Platform:'.(($select === '') ? ' (none selected)' : '')); |
|
| 185 | 185 | |
| 186 | 186 | foreach ($platforms as $platformWrapper) { |
| 187 | 187 | $platform = $platformWrapper->getPlatform(); |
| 188 | 188 | $selected = ($platformWrapper->getClass() === $select) ? '(Selected)' : ''; |
| 189 | - $output->writeln($platform->getName() . ' ' . $platformWrapper->getVersion() . ' ' . $selected); |
|
| 189 | + $output->writeln($platform->getName().' '.$platformWrapper->getVersion().' '.$selected); |
|
| 190 | 190 | try { |
| 191 | 191 | echo json_encode($platform->getConfiguration(), JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES); |
| 192 | 192 | } catch (Exception $e) { |
@@ -217,7 +217,7 @@ discard block |
||
| 217 | 217 | |
| 218 | 218 | foreach ($providers as $providerWrapper) { |
| 219 | 219 | $provider = $providerWrapper->getProvider(); |
| 220 | - $output->writeln($provider->getName() . ' ' . $providerWrapper->getVersion()); |
|
| 220 | + $output->writeln($provider->getName().' '.$providerWrapper->getVersion()); |
|
| 221 | 221 | echo json_encode($provider->getConfiguration(), JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES); |
| 222 | 222 | $output->writeln(''); |
| 223 | 223 | } |