Completed
Push — master ( d0a5ee...b8b229 )
by John
40:50 queued 14s
created
lib/private/Accounts/Hooks.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
 			return;
65 65
 		}
66 66
 
67
-		if (isset($property) && $property->getValue() !== (string)$newValue) {
67
+		if (isset($property) && $property->getValue() !== (string) $newValue) {
68 68
 			$property->setValue($newValue);
69 69
 			$this->accountManager->updateAccount($account);
70 70
 		}
Please login to merge, or discard this patch.
core/Command/Integrity/CheckCore.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
 		$result = $this->checker->verifyCoreSignature();
69 69
 		$this->writeArrayInOutputFormat($input, $output, $result);
70 70
 		if (count($result) > 0) {
71
-			$output->writeln('<error>' . count($result) . ' errors found</error>', OutputInterface::VERBOSITY_VERBOSE);
71
+			$output->writeln('<error>'.count($result).' errors found</error>', OutputInterface::VERBOSITY_VERBOSE);
72 72
 			return 1;
73 73
 		}
74 74
 		$output->writeln('<info>No errors found</info>', OutputInterface::VERBOSITY_VERBOSE);
Please login to merge, or discard this patch.
lib/private/DB/QueryBuilder/ExpressionBuilder/OCIExpressionBuilder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -168,11 +168,11 @@  discard block
 block discarded – undo
168 168
 	public function castColumn($column, $type): IQueryFunction {
169 169
 		if ($type === IQueryBuilder::PARAM_STR) {
170 170
 			$column = $this->helper->quoteColumnName($column);
171
-			return new QueryFunction('to_char(' . $column . ')');
171
+			return new QueryFunction('to_char('.$column.')');
172 172
 		}
173 173
 		if ($type === IQueryBuilder::PARAM_INT) {
174 174
 			$column = $this->helper->quoteColumnName($column);
175
-			return new QueryFunction('to_number(to_char(' . $column . '))');
175
+			return new QueryFunction('to_number(to_char('.$column.'))');
176 176
 		}
177 177
 
178 178
 		return parent::castColumn($column, $type);
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
 	 * @inheritdoc
183 183
 	 */
184 184
 	public function like($x, $y, $type = null): string {
185
-		return parent::like($x, $y, $type) . " ESCAPE '\\'";
185
+		return parent::like($x, $y, $type)." ESCAPE '\\'";
186 186
 	}
187 187
 
188 188
 	/**
Please login to merge, or discard this patch.
lib/private/DB/QueryBuilder/FunctionBuilder/PgSqlFunctionBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,10 +41,10 @@
 block discarded – undo
41 41
 		$castedExpression = $this->queryBuilder->expr()->castColumn($expr, IQueryBuilder::PARAM_STR);
42 42
 
43 43
 		if (is_null($separator)) {
44
-			return new QueryFunction('string_agg(' . $castedExpression . ')');
44
+			return new QueryFunction('string_agg('.$castedExpression.')');
45 45
 		}
46 46
 
47 47
 		$separator = $this->connection->quote($separator);
48
-		return new QueryFunction('string_agg(' . $castedExpression . ', ' . $separator . ')');
48
+		return new QueryFunction('string_agg('.$castedExpression.', '.$separator.')');
49 49
 	}
50 50
 }
Please login to merge, or discard this patch.
lib/private/App/AppStore/Fetcher/AppFetcher.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -151,14 +151,14 @@  discard block
 block discarded – undo
151 151
 			foreach ($releases as $release) {
152 152
 				$versions[] = $release['version'];
153 153
 			}
154
-			usort($versions, function ($version1, $version2) {
154
+			usort($versions, function($version1, $version2) {
155 155
 				return version_compare($version1, $version2);
156 156
 			});
157 157
 			$versions = array_reverse($versions);
158 158
 			if (isset($versions[0])) {
159 159
 				$highestVersion = $versions[0];
160 160
 				foreach ($releases as $release) {
161
-					if ((string)$release['version'] === (string)$highestVersion) {
161
+					if ((string) $release['version'] === (string) $highestVersion) {
162 162
 						$response['data'][$dataKey]['releases'] = [$release];
163 163
 						break;
164 164
 					}
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
 
189 189
 		// If the admin specified a allow list, filter apps from the appstore
190 190
 		if (is_array($allowList) && $this->registry->delegateHasValidSubscription()) {
191
-			return array_filter($apps, function ($app) use ($allowList) {
191
+			return array_filter($apps, function($app) use ($allowList) {
192 192
 				return in_array($app['id'], $allowList);
193 193
 			});
194 194
 		}
Please login to merge, or discard this patch.
lib/private/App/InfoParser.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
 		}
55 55
 
56 56
 		if ($this->cache !== null) {
57
-			$fileCacheKey = $file . filemtime($file);
57
+			$fileCacheKey = $file.filemtime($file);
58 58
 			if ($cachedValue = $this->cache->get($fileCacheKey)) {
59 59
 				return json_decode($cachedValue, true);
60 60
 			}
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
 	 */
235 235
 	public function xmlToArray($xml) {
236 236
 		if (!$xml->children()) {
237
-			return (string)$xml;
237
+			return (string) $xml;
238 238
 		}
239 239
 
240 240
 		$array = [];
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
 					'@attributes' => [],
252 252
 				];
253 253
 				if (!count($node->children())) {
254
-					$value = (string)$node;
254
+					$value = (string) $node;
255 255
 					if (!empty($value)) {
256 256
 						$data['@value'] = $value;
257 257
 					}
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
 					$data = array_merge($data, $this->xmlToArray($node));
260 260
 				}
261 261
 				foreach ($attributes as $attr => $value) {
262
-					$data['@attributes'][$attr] = (string)$value;
262
+					$data['@attributes'][$attr] = (string) $value;
263 263
 				}
264 264
 
265 265
 				if ($totalElement > 1) {
Please login to merge, or discard this patch.
lib/private/Profile/Actions/PhoneAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,6 +89,6 @@
 block discarded – undo
89 89
 		if (empty($this->value)) {
90 90
 			return null;
91 91
 		}
92
-		return 'tel:' . $this->value;
92
+		return 'tel:'.$this->value;
93 93
 	}
94 94
 }
Please login to merge, or discard this patch.
lib/private/Profile/Actions/EmailAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,6 +89,6 @@
 block discarded – undo
89 89
 		if (empty($this->value)) {
90 90
 			return null;
91 91
 		}
92
-		return 'mailto:' . $this->value;
92
+		return 'mailto:'.$this->value;
93 93
 	}
94 94
 }
Please login to merge, or discard this patch.
lib/private/Profile/Actions/TwitterAction.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 	}
76 76
 
77 77
 	public function getTitle(): string {
78
-		$displayUsername = $this->value[0] === '@' ? $this->value : '@' . $this->value;
78
+		$displayUsername = $this->value[0] === '@' ? $this->value : '@'.$this->value;
79 79
 		return $this->l10nFactory->get('lib')->t('View %s on Twitter', [$displayUsername]);
80 80
 	}
81 81
 
@@ -92,6 +92,6 @@  discard block
 block discarded – undo
92 92
 			return null;
93 93
 		}
94 94
 		$username = $this->value[0] === '@' ? substr($this->value, 1) : $this->value;
95
-		return 'https://twitter.com/' . $username;
95
+		return 'https://twitter.com/'.$username;
96 96
 	}
97 97
 }
Please login to merge, or discard this patch.