Passed
Push — master ( 24e25a...d3efd4 )
by Joas
29:31 queued 13:57
created
lib/private/Authentication/TwoFactorAuth/ProviderSet.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
 	 * @return IProvider[]
73 73
 	 */
74 74
 	public function getPrimaryProviders(): array {
75
-		return array_filter($this->providers, function (IProvider $provider) {
75
+		return array_filter($this->providers, function(IProvider $provider) {
76 76
 			return !($provider instanceof BackupCodesProvider);
77 77
 		});
78 78
 	}
Please login to merge, or discard this patch.
lib/private/SystemTag/SystemTagObjectMapper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
 		$result->closeCursor();
242 242
 
243 243
 		if ($all) {
244
-			return ((int)$row[0] === \count($objIds));
244
+			return ((int) $row[0] === \count($objIds));
245 245
 		}
246 246
 
247 247
 		return (bool) $row;
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
 		if (\count($tags) !== \count($tagIds)) {
260 260
 			// at least one tag missing, bail out
261 261
 			$foundTagIds = array_map(
262
-				function (ISystemTag $tag) {
262
+				function(ISystemTag $tag) {
263 263
 					return $tag->getId();
264 264
 				},
265 265
 				$tags
Please login to merge, or discard this patch.
lib/private/Collaboration/Resources/Listener.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 class Listener {
37 37
 
38 38
 	public static function register(EventDispatcherInterface $dispatcher): void {
39
-		$listener = function (GenericEvent $event) {
39
+		$listener = function(GenericEvent $event) {
40 40
 			/** @var IUser $user */
41 41
 			$user = $event->getArgument('user');
42 42
 			/** @var IManager $resourceManager */
@@ -44,10 +44,10 @@  discard block
 block discarded – undo
44 44
 
45 45
 			$resourceManager->invalidateAccessCacheForUser($user);
46 46
 		};
47
-		$dispatcher->addListener(IGroup::class . '::postAddUser', $listener);
48
-		$dispatcher->addListener(IGroup::class . '::postRemoveUser', $listener);
47
+		$dispatcher->addListener(IGroup::class.'::postAddUser', $listener);
48
+		$dispatcher->addListener(IGroup::class.'::postRemoveUser', $listener);
49 49
 
50
-		$dispatcher->addListener(IUser::class . '::postDelete', function (GenericEvent $event) {
50
+		$dispatcher->addListener(IUser::class.'::postDelete', function(GenericEvent $event) {
51 51
 			/** @var IUser $user */
52 52
 			$user = $event->getSubject();
53 53
 			/** @var IManager $resourceManager */
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 			$resourceManager->invalidateAccessCacheForUser($user);
57 57
 		});
58 58
 
59
-		$dispatcher->addListener(IGroup::class . '::preDelete', function (GenericEvent $event) {
59
+		$dispatcher->addListener(IGroup::class.'::preDelete', function(GenericEvent $event) {
60 60
 			/** @var IGroup $group */
61 61
 			$group = $event->getSubject();
62 62
 			/** @var IManager $resourceManager */
Please login to merge, or discard this patch.
lib/private/Collaboration/Resources/Collection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
 	 * @since 16.0.0
127 127
 	 */
128 128
 	public function addResource(IResource $resource): void {
129
-		array_map(function (IResource $r) use ($resource) {
129
+		array_map(function(IResource $r) use ($resource) {
130 130
 			if ($this->isSameResource($r, $resource)) {
131 131
 				throw new ResourceException('Already part of the collection');
132 132
 			}
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
 	 * @since 16.0.0
159 159
 	 */
160 160
 	public function removeResource(IResource $resource): void {
161
-		$this->resources = array_filter($this->getResources(), function (IResource $r) use ($resource) {
161
+		$this->resources = array_filter($this->getResources(), function(IResource $r) use ($resource) {
162 162
 			return !$this->isSameResource($r, $resource);
163 163
 		});
164 164
 
Please login to merge, or discard this patch.
lib/public/Accounts/PropertyDoesNotExistException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 	 * @since 15.0.0
39 39
 	 */
40 40
 	public function __construct($property) {
41
-		parent::__construct('Property ' . $property . ' does not exist.');
41
+		parent::__construct('Property '.$property.' does not exist.');
42 42
 	}
43 43
 
44 44
 }
Please login to merge, or discard this patch.
lib/private/Collaboration/Collaborators/RemotePlugin.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
 							$searchResult->markExactIdMatch($resultType);
113 113
 						}
114 114
 						$result['exact'][] = [
115
-							'label' => $contact['FN'] . " ($cloudId)",
115
+							'label' => $contact['FN']." ($cloudId)",
116 116
 							'uuid' => $contact['UID'],
117 117
 							'name' => $contact['FN'],
118 118
 							'type' => $cloudIdType,
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
 						];
125 125
 					} else {
126 126
 						$result['wide'][] = [
127
-							'label' => $contact['FN'] . " ($cloudId)",
127
+							'label' => $contact['FN']." ($cloudId)",
128 128
 							'uuid' => $contact['UID'],
129 129
 							'name' => $contact['FN'],
130 130
 							'type' => $cloudIdType,
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
 				$localUser = $this->userManager->get($remoteUser);
155 155
 				if ($localUser === null || $search !== $localUser->getCloudId()) {
156 156
 					$result['exact'][] = [
157
-						'label' => $remoteUser . " ($serverUrl)",
157
+						'label' => $remoteUser." ($serverUrl)",
158 158
 						'uuid' => $remoteUser,
159 159
 						'name' => $remoteUser,
160 160
 						'value' => [
Please login to merge, or discard this patch.
apps/federatedfilesharing/lib/Controller/MountPublicLinkController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@
 block discarded – undo
194 194
 		$httpClient = $this->clientService->newClient();
195 195
 
196 196
 		try {
197
-			$response = $httpClient->post($remote . '/index.php/apps/federatedfilesharing/createFederatedShare',
197
+			$response = $httpClient->post($remote.'/index.php/apps/federatedfilesharing/createFederatedShare',
198 198
 				[
199 199
 					'body' =>
200 200
 						[
Please login to merge, or discard this patch.
apps/updatenotification/lib/Command/Check.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
 		// Server
69 69
 		$r = $this->updateChecker->getUpdateState();
70 70
 		if (isset($r['updateAvailable']) && $r['updateAvailable']) {
71
-			$output->writeln($r['updateVersionString'] . ' is available. Get more information on how to update at '. $r['updateLink'] . '.');
71
+			$output->writeln($r['updateVersionString'].' is available. Get more information on how to update at '.$r['updateLink'].'.');
72 72
 			$updatesAvailableCount += 1;
73 73
 		}
74 74
 
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 		foreach ($apps as $app) {
79 79
 			$update = $this->installer->isUpdateAvailable($app);
80 80
 			if ($update !== false) {
81
-				$output->writeln('Update for ' . $app . ' to version ' . $update . ' is available.');
81
+				$output->writeln('Update for '.$app.' to version '.$update.' is available.');
82 82
 				$updatesAvailableCount += 1;
83 83
 			}
84 84
 		}
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
 		} elseif ($updatesAvailableCount === 1) {
90 90
 			$output->writeln('<comment>1 update available</comment>');
91 91
 		} else {
92
-			$output->writeln('<comment>' . $updatesAvailableCount . ' updates available</comment>');
92
+			$output->writeln('<comment>'.$updatesAvailableCount.' updates available</comment>');
93 93
 		}
94 94
 
95 95
 		return 0;
Please login to merge, or discard this patch.
lib/private/Lock/MemcacheLockingProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@
 block discarded – undo
143 143
 		} elseif ($existing === 'exclusive') {
144 144
 			return $existing;
145 145
 		} else {
146
-			return $existing . ' shared locks';
146
+			return $existing.' shared locks';
147 147
 		}
148 148
 	}
149 149
 }
Please login to merge, or discard this patch.