Completed
Push — master ( 2493d7...51beeb )
by Maxence
03:12 queued 12s
created
lib/Command/CirclesMaintenance.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
 				'<error>WARNING! You are about to delete all data related to the Circles App!</error>'
116 116
 			);
117 117
 			$question = new ConfirmationQuestion(
118
-				'<comment>Do you really want to ' . $action . ' Circles ?</comment> (y/N) ', false,
118
+				'<comment>Do you really want to '.$action.' Circles ?</comment> (y/N) ', false,
119 119
 				'/^(y|Y)/i'
120 120
 			);
121 121
 
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
 
132 132
 
133 133
 			$question = new Question(
134
-				'<comment>Please confirm this destructive operation by typing \'' . $action
134
+				'<comment>Please confirm this destructive operation by typing \''.$action
135 135
 				. '\'</comment>: ', ''
136 136
 			);
137 137
 
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
 				$this->coreQueryBuilder->uninstall();
149 149
 			}
150 150
 
151
-			$output->writeln('<info>' . $action . ' done</info>');
151
+			$output->writeln('<info>'.$action.' done</info>');
152 152
 
153 153
 			return 0;
154 154
 		}
Please login to merge, or discard this patch.
lib/Service/SyncService.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -250,7 +250,7 @@  discard block
 block discarded – undo
250 250
 	 * @throws SingleCircleNotFoundException
251 251
 	 */
252 252
 	public function syncNextcloudUser(string $userId): FederatedUser {
253
-		$this->outputService->output('Syncing Nextcloud User \'' . $userId . '\'', true);
253
+		$this->outputService->output('Syncing Nextcloud User \''.$userId.'\'', true);
254 254
 
255 255
 		return $this->federatedUserService->getLocalFederatedUser($userId);
256 256
 	}
@@ -294,7 +294,7 @@  discard block
 block discarded – undo
294 294
 	 * @throws RequestBuilderException
295 295
 	 */
296 296
 	public function syncNextcloudGroup(string $groupId): Circle {
297
-		$this->outputService->output('Syncing Nextcloud Group \'' . $groupId . '\'', true);
297
+		$this->outputService->output('Syncing Nextcloud Group \''.$groupId.'\'', true);
298 298
 
299 299
 		$circle = $this->federatedUserService->getGroupCircle($groupId);
300 300
 		$group = $this->groupManager->get($groupId);
@@ -363,7 +363,7 @@  discard block
 block discarded – undo
363 363
 	 */
364 364
 	public function groupDeleted(string $groupId): void {
365 365
 		$circle = new Circle();
366
-		$circle->setName('group:' . $groupId)
366
+		$circle->setName('group:'.$groupId)
367 367
 			   ->setConfig(Circle::CFG_SYSTEM | Circle::CFG_NO_OWNER | Circle::CFG_HIDDEN)
368 368
 			   ->setSource(Member::TYPE_GROUP);
369 369
 
Please login to merge, or discard this patch.
lib/Service/OutputService.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -82,14 +82,14 @@
 block discarded – undo
82 82
 	 */
83 83
 	public function output(string $message, bool $advance = false): void {
84 84
 		if (!is_null($this->occOutput)) {
85
-			$this->occOutput->writeln((($advance) ? '+' : '-') . ' ' . $message);
85
+			$this->occOutput->writeln((($advance) ? '+' : '-').' '.$message);
86 86
 		}
87 87
 
88 88
 		if (!is_null($this->migrationOutput)) {
89 89
 			if ($advance) {
90
-				$this->migrationOutput->advance(1, '(Circles) ' . $message);
90
+				$this->migrationOutput->advance(1, '(Circles) '.$message);
91 91
 			} else {
92
-				$this->migrationOutput->info('(Circles) ' . $message);
92
+				$this->migrationOutput->info('(Circles) '.$message);
93 93
 			}
94 94
 		}
95 95
 	}
Please login to merge, or discard this patch.
lib/Service/MigrationService.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
 				try {
232 232
 					$data = new SimpleDataStore($row);
233 233
 					$this->outputService->output(
234
-						'Migrating Circle \'' . $data->g('name') . '\'',
234
+						'Migrating Circle \''.$data->g('name').'\'',
235 235
 						true
236 236
 					);
237 237
 
@@ -336,7 +336,7 @@  discard block
 block discarded – undo
336 336
 				try {
337 337
 					$data = new SimpleDataStore($row);
338 338
 					$this->outputService->output(
339
-						'Migrating Member \'' . $data->g('user_id') . '\'',
339
+						'Migrating Member \''.$data->g('user_id').'\'',
340 340
 						true
341 341
 					);
342 342
 
@@ -453,7 +453,7 @@  discard block
 block discarded – undo
453 453
 			$addressBook =
454 454
 				$this->contactService->getAddressBoxById($cm, $this->get('addressbook-key', $entry));
455 455
 
456
-			$member->setUserId($userId . '/' . $addressBook->getUri() . '/' . $contactId);
456
+			$member->setUserId($userId.'/'.$addressBook->getUri().'/'.$contactId);
457 457
 		}
458 458
 	}
459 459
 
Please login to merge, or discard this patch.
lib/Service/MembershipService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
 
146 146
 		foreach ($circles as $circle) {
147 147
 			$this->outputService->output(
148
-				'Caching memberships for \'' . $circle->getDisplayName() . '\'',
148
+				'Caching memberships for \''.$circle->getDisplayName().'\'',
149 149
 				true
150 150
 			);
151 151
 			$this->manageMemberships($circle->getSingleId());
Please login to merge, or discard this patch.