Completed
Push — master ( 672e4f...e22914 )
by Maxence
21:09 queued 14s
created
apps/settings/lib/Controller/HelpController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
 		}
80 80
 
81 81
 		$documentationUrl = $this->urlGenerator->getAbsoluteURL(
82
-			$this->urlGenerator->linkTo('', 'core/doc/' . $mode . '/index.html')
82
+			$this->urlGenerator->linkTo('', 'core/doc/'.$mode.'/index.html')
83 83
 		);
84 84
 
85 85
 		$urlUserDocs = $this->urlGenerator->linkToRoute('settings.Help.help', ['mode' => 'user']);
Please login to merge, or discard this patch.
lib/public/Files/DavUtil.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
 	public static function getDavFileId(int $id): string {
48 48
 		$instanceId = \OC_Util::getInstanceId();
49 49
 		$id = sprintf('%08d', $id);
50
-		return $id . $instanceId;
50
+		return $id.$instanceId;
51 51
 	}
52 52
 
53 53
 	/**
Please login to merge, or discard this patch.
lib/public/Color.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -133,9 +133,9 @@
 block discarded – undo
133 133
 	 */
134 134
 	public function alphaBlending(float $opacity, Color $source): Color {
135 135
 		return new Color(
136
-			(int)((1 - $opacity) * $source->red() + $opacity * $this->red()),
137
-			(int)((1 - $opacity) * $source->green() + $opacity * $this->green()),
138
-			(int)((1 - $opacity) * $source->blue() + $opacity * $this->blue())
136
+			(int) ((1 - $opacity) * $source->red() + $opacity * $this->red()),
137
+			(int) ((1 - $opacity) * $source->green() + $opacity * $this->green()),
138
+			(int) ((1 - $opacity) * $source->blue() + $opacity * $this->blue())
139 139
 		);
140 140
 	}
141 141
 
Please login to merge, or discard this patch.
lib/private/Avatar/PlaceholderAvatar.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -112,9 +112,9 @@  discard block
 block discarded – undo
112 112
 		$ext = 'png';
113 113
 
114 114
 		if ($size === -1) {
115
-			$path = 'avatar-placeholder' . ($darkTheme ? '-dark' : '') . '.' . $ext;
115
+			$path = 'avatar-placeholder'.($darkTheme ? '-dark' : '').'.'.$ext;
116 116
 		} else {
117
-			$path = 'avatar-placeholder' . ($darkTheme ? '-dark' : '') . '.' . $size . '.' . $ext;
117
+			$path = 'avatar-placeholder'.($darkTheme ? '-dark' : '').'.'.$size.'.'.$ext;
118 118
 		}
119 119
 
120 120
 		try {
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
 				$file = $this->folder->newFile($path);
133 133
 				$file->putContent($data);
134 134
 			} catch (NotPermittedException $e) {
135
-				$this->logger->error('Failed to save avatar placeholder for ' . $this->user->getUID());
135
+				$this->logger->error('Failed to save avatar placeholder for '.$this->user->getUID());
136 136
 				throw new NotFoundException();
137 137
 			}
138 138
 		}
Please login to merge, or discard this patch.
apps/settings/lib/Settings/Personal/PersonalInfo.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
 	 */
235 235
 	private function getGroups(IUser $user): array {
236 236
 		$groups = array_map(
237
-			static function (IGroup $group) {
237
+			static function(IGroup $group) {
238 238
 				return $group->getDisplayName();
239 239
 			},
240 240
 			$this->groupManager->getUserGroups($user)
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
 		];
258 258
 
259 259
 		$additionalEmails = array_map(
260
-			function (IAccountProperty $property) {
260
+			function(IAccountProperty $property) {
261 261
 				return [
262 262
 					'name' => $property->getName(),
263 263
 					'value' => $property->getValue(),
@@ -272,7 +272,7 @@  discard block
 block discarded – undo
272 272
 		$emailMap = [
273 273
 			'primaryEmail' => $systemEmail,
274 274
 			'additionalEmails' => $additionalEmails,
275
-			'notificationEmail' => (string)$account->getUser()->getPrimaryEMailAddress(),
275
+			'notificationEmail' => (string) $account->getUser()->getPrimaryEMailAddress(),
276 276
 		];
277 277
 
278 278
 		return $emailMap;
@@ -366,7 +366,7 @@  discard block
 block discarded – undo
366 366
 				default:
367 367
 					$message = $this->l->t('Verify');
368 368
 			}
369
-			$messageParameters[$property . 'Message'] = $message;
369
+			$messageParameters[$property.'Message'] = $message;
370 370
 		}
371 371
 		return $messageParameters;
372 372
 	}
Please login to merge, or discard this patch.
lib/private/User/Listeners/BeforeUserDeletedListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
 			// no avatar to remove
58 58
 		} catch (\Exception $e) {
59 59
 			// Ignore exceptions
60
-			$this->logger->info('Could not cleanup avatar of ' . $user->getUID(), [
60
+			$this->logger->info('Could not cleanup avatar of '.$user->getUID(), [
61 61
 				'exception' => $e,
62 62
 			]);
63 63
 		}
Please login to merge, or discard this patch.
lib/private/TagManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
 			return;
124 124
 		}
125 125
 
126
-		$tagsIds = array_map(fn (array $row) => (int)$row['id'], $result->fetchAll());
126
+		$tagsIds = array_map(fn (array $row) => (int) $row['id'], $result->fetchAll());
127 127
 		$result->closeCursor();
128 128
 
129 129
 		if (count($tagsIds) === 0) {
Please login to merge, or discard this patch.
apps/files/lib/Controller/OpenLocalEditorController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
 			}
101 101
 		}
102 102
 
103
-		$this->logger->error('Giving up after ' . self::TOKEN_RETRIES . ' retries to generate a unique local editor token for path hash: ' . $pathHash);
103
+		$this->logger->error('Giving up after '.self::TOKEN_RETRIES.' retries to generate a unique local editor token for path hash: '.$pathHash);
104 104
 		return new DataResponse([], Http::STATUS_INTERNAL_SERVER_ERROR);
105 105
 	}
106 106
 
Please login to merge, or discard this patch.
apps/user_status/lib/Db/UserStatusMapper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
 					$qb->expr()->isNotNull('custom_icon'),
84 84
 					$qb->expr()->isNotNull('custom_message'),
85 85
 				),
86
-				$qb->expr()->notLike('user_id', $qb->createNamedParameter($this->db->escapeLikeParameter('_') . '%'))
86
+				$qb->expr()->notLike('user_id', $qb->createNamedParameter($this->db->escapeLikeParameter('_').'%'))
87 87
 			));
88 88
 
89 89
 		if ($limit !== null) {
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
 		$qb
107 107
 			->select('*')
108 108
 			->from($this->tableName)
109
-			->where($qb->expr()->eq('user_id', $qb->createNamedParameter($isBackup ? '_' . $userId : $userId, IQueryBuilder::PARAM_STR)));
109
+			->where($qb->expr()->eq('user_id', $qb->createNamedParameter($isBackup ? '_'.$userId : $userId, IQueryBuilder::PARAM_STR)));
110 110
 
111 111
 		return $this->findEntity($qb);
112 112
 	}
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
 		$qb = $this->db->getQueryBuilder();
196 196
 		$qb->update($this->tableName)
197 197
 			->set('is_backup', $qb->createNamedParameter(true, IQueryBuilder::PARAM_BOOL))
198
-			->set('user_id', $qb->createNamedParameter('_' . $userId))
198
+			->set('user_id', $qb->createNamedParameter('_'.$userId))
199 199
 			->where($qb->expr()->eq('user_id', $qb->createNamedParameter($userId)));
200 200
 		return $qb->executeStatement() > 0;
201 201
 	}
Please login to merge, or discard this patch.