@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | '<error>WARNING! You are about to delete all data related to the Circles App!</error>' |
| 107 | 107 | ); |
| 108 | 108 | $question = new ConfirmationQuestion( |
| 109 | - '<comment>Do you really want to ' . $action . ' Circles ?</comment> (y/N) ', false, |
|
| 109 | + '<comment>Do you really want to '.$action.' Circles ?</comment> (y/N) ', false, |
|
| 110 | 110 | '/^(y|Y)/i' |
| 111 | 111 | ); |
| 112 | 112 | |
@@ -122,7 +122,7 @@ discard block |
||
| 122 | 122 | $output->writeln('<error>WARNING! This operation is not reversible.</error>'); |
| 123 | 123 | |
| 124 | 124 | $question = new Question( |
| 125 | - '<comment>Please confirm this destructive operation by typing \'' . $action |
|
| 125 | + '<comment>Please confirm this destructive operation by typing \''.$action |
|
| 126 | 126 | . '\'</comment>: ', '' |
| 127 | 127 | ); |
| 128 | 128 | |
@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | $this->coreRequestBuilder->uninstall(); |
| 141 | 141 | } |
| 142 | 142 | |
| 143 | - $output->writeln('<info>' . $action . ' done</info>'); |
|
| 143 | + $output->writeln('<info>'.$action.' done</info>'); |
|
| 144 | 144 | |
| 145 | 145 | return 0; |
| 146 | 146 | } |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | $this->maintenanceService->runMaintenance($i, $input->getOption('force-refresh')); |
| 154 | 154 | } catch (MaintenanceException $e) { |
| 155 | 155 | $this->logger->warning('issue while performing maintenance', ['level' => $i, ['exception' => $e]]); |
| 156 | - $output->writeln('- <error>issue while performing maintenance</error> ' . $e->getMessage() . ' (more details in logs)'); |
|
| 156 | + $output->writeln('- <error>issue while performing maintenance</error> '.$e->getMessage().' (more details in logs)'); |
|
| 157 | 157 | } |
| 158 | 158 | } |
| 159 | 159 | |
@@ -173,7 +173,7 @@ discard block |
||
| 173 | 173 | $federatedUser = $this->federatedUserService->getLocalFederatedUser($userId); |
| 174 | 174 | $displayName = $this->maintenanceService->updateDisplayName($federatedUser); |
| 175 | 175 | if ($displayName !== '') { |
| 176 | - $output->writeln('Display name of ' . $federatedUser->getSingleId() . ' updated to ' . $displayName); |
|
| 176 | + $output->writeln('Display name of '.$federatedUser->getSingleId().' updated to '.$displayName); |
|
| 177 | 177 | } |
| 178 | 178 | |
| 179 | 179 | return 0; |
@@ -188,7 +188,7 @@ discard block |
||
| 188 | 188 | try { |
| 189 | 189 | $this->refreshSingleDisplayName($row['uid'], $output); |
| 190 | 190 | } catch (Exception $e) { |
| 191 | - $output->writeln(get_class($e) . ' while trying to update display name of ' . $row['uid']); |
|
| 191 | + $output->writeln(get_class($e).' while trying to update display name of '.$row['uid']); |
|
| 192 | 192 | } |
| 193 | 193 | } |
| 194 | 194 | } |
@@ -201,7 +201,7 @@ discard block |
||
| 201 | 201 | try { |
| 202 | 202 | $this->refreshSingleDisplayName($user['name'], $output); |
| 203 | 203 | } catch (Exception $e) { |
| 204 | - $output->writeln(get_class($e) . ' while trying to update display name of ' . $user['name']); |
|
| 204 | + $output->writeln(get_class($e).' while trying to update display name of '.$user['name']); |
|
| 205 | 205 | } |
| 206 | 206 | } |
| 207 | 207 | } |