Completed
Pull Request — master (#634)
by Maxence
04:45 queued 02:03
created
lib/Service/SyncService.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,6 @@  discard block
 block discarded – undo
50 50
 use OCA\Circles\Exceptions\GroupNotFoundException;
51 51
 use OCA\Circles\Exceptions\InitiatorNotConfirmedException;
52 52
 use OCA\Circles\Exceptions\InvalidIdException;
53
-use OCA\Circles\Exceptions\MemberNotFoundException;
54 53
 use OCA\Circles\Exceptions\MigrationException;
55 54
 use OCA\Circles\Exceptions\OwnerNotFoundException;
56 55
 use OCA\Circles\Exceptions\RemoteInstanceException;
@@ -59,7 +58,6 @@  discard block
 block discarded – undo
59 58
 use OCA\Circles\Exceptions\RequestBuilderException;
60 59
 use OCA\Circles\Exceptions\SingleCircleNotFoundException;
61 60
 use OCA\Circles\Exceptions\UnknownRemoteException;
62
-use OCA\Circles\Exceptions\UserTypeNotFoundException;
63 61
 use OCA\Circles\FederatedItems\SingleMemberAdd;
64 62
 use OCA\Circles\Model\Circle;
65 63
 use OCA\Circles\Model\Federated\FederatedEvent;
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -398,7 +398,7 @@  discard block
 block discarded – undo
398 398
 	 */
399 399
 	public function groupDeleted(string $groupId): void {
400 400
 		$circle = new Circle();
401
-		$circle->setName('group:' . $groupId)
401
+		$circle->setName('group:'.$groupId)
402 402
 			   ->setConfig(Circle::CFG_SYSTEM | Circle::CFG_NO_OWNER | Circle::CFG_HIDDEN)
403 403
 			   ->setSource(Member::TYPE_GROUP);
404 404
 
@@ -703,7 +703,7 @@  discard block
 block discarded – undo
703 703
 			while ($row = $cursor->fetch()) {
704 704
 				$data = new SimpleDataStore($row);
705 705
 
706
-				echo json_encode($data) . "\n";
706
+				echo json_encode($data)."\n";
707 707
 				$member = new Member();
708 708
 
709 709
 				$member->setCircleId($data->g('circle_id'))
@@ -765,14 +765,14 @@  discard block
 block discarded – undo
765 765
 	 */
766 766
 	private function output(string $message, bool $advance = false): void {
767 767
 		if (!is_null($this->occOutput)) {
768
-			$this->occOutput->writeln((($advance) ? '+' : '-') . ' ' . $message);
768
+			$this->occOutput->writeln((($advance) ? '+' : '-').' '.$message);
769 769
 		}
770 770
 
771 771
 		if (!is_null($this->migrationOutput)) {
772 772
 			if ($advance) {
773
-				$this->migrationOutput->advance(1, '(Circles) ' . $message);
773
+				$this->migrationOutput->advance(1, '(Circles) '.$message);
774 774
 			} else {
775
-				$this->migrationOutput->info('(Circles) ' . $message);
775
+				$this->migrationOutput->info('(Circles) '.$message);
776 776
 			}
777 777
 		}
778 778
 	}
Please login to merge, or discard this patch.
lib/Migration/Migration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
 	 * @return string
76 76
 	 */
77 77
 	public function getName(): string {
78
-		return '(' . Application::APP_NAME . ') Migrating data from older version of the Circles App';
78
+		return '('.Application::APP_NAME.') Migrating data from older version of the Circles App';
79 79
 	}
80 80
 
81 81
 
Please login to merge, or discard this patch.
lib/Migration/Sync.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
 	 * @return string
69 69
 	 */
70 70
 	public function getName(): string {
71
-		return '(' . Application::APP_NAME . ') Synchronizing local entities';
71
+		return '('.Application::APP_NAME.') Synchronizing local entities';
72 72
 	}
73 73
 
74 74
 
Please login to merge, or discard this patch.