Completed
Push — master ( 574ca3...69f17d )
by Maxence
04:30 queued 02:09
created
lib/Service/GlobalScaleService.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -168,12 +168,12 @@  discard block
 block discarded – undo
168 168
 		try {
169 169
 			$gs = OC::$server->query($class);
170 170
 			if (!$gs instanceof AGlobalScaleEvent) {
171
-				throw new GlobalScaleEventException($class . ' not an AGlobalScaleEvent');
171
+				throw new GlobalScaleEventException($class.' not an AGlobalScaleEvent');
172 172
 			}
173 173
 
174 174
 			return $gs;
175 175
 		} catch (QueryException $e) {
176
-			throw new GlobalScaleEventException('AGlobalScaleEvent ' . $class . ' not found');
176
+			throw new GlobalScaleEventException('AGlobalScaleEvent '.$class.' not found');
177 177
 		}
178 178
 	}
179 179
 
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
 			}
193 193
 		}
194 194
 
195
-		return md5('gskey:' . $key);
195
+		return md5('gskey:'.$key);
196 196
 	}
197 197
 
198 198
 	/**
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
239 239
 				$instances = $this->retrieveJson($request);
240 240
 			} catch (RequestContentException | RequestNetworkException | RequestResultSizeException | RequestServerException | RequestResultNotJsonException $e) {
241 241
 				$this->miscService->log(
242
-					'Issue while retrieving instances from lookup: ' . get_class($e) . ' ' . $e->getMessage()
242
+					'Issue while retrieving instances from lookup: '.get_class($e).' '.$e->getMessage()
243 243
 				);
244 244
 
245 245
 				return [];
@@ -282,7 +282,7 @@  discard block
 block discarded – undo
282 282
 		$className = $event->getType();
283 283
 		if (substr($className, 0, 25) !== '\OCA\Circles\GlobalScale\\' || strpos($className, '.')) {
284 284
 			throw new GlobalScaleEventException(
285
-				$className . ' does not seems to be a secured AGlobalScaleEvent'
285
+				$className.' does not seems to be a secured AGlobalScaleEvent'
286 286
 			);
287 287
 		}
288 288
 
Please login to merge, or discard this patch.
lib/Service/ConfigService.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
 		if ((!$this->isNonSSLLinksAllowed() || strpos($remote, 'http://') !== 0)
244 244
 			&& strpos($remote, 'https://') !== 0
245 245
 		) {
246
-			$remote = 'https://' . $remote;
246
+			$remote = 'https://'.$remote;
247 247
 		}
248 248
 
249 249
 		return rtrim($remote, '/');
@@ -501,7 +501,7 @@  discard block
 block discarded – undo
501 501
 				return false;
502 502
 			}
503 503
 
504
-			throw new GSStatusException('GS and lookup are not configured : ' . $lookup . ', ' . $enabled);
504
+			throw new GSStatusException('GS and lookup are not configured : '.$lookup.', '.$enabled);
505 505
 		}
506 506
 
507 507
 		$clef = $this->config->getSystemValue('gss.jwt.key', '');
@@ -554,7 +554,7 @@  discard block
 block discarded – undo
554 554
 			$cliUrl = $this->config->getSystemValue('overwrite.cli.url', '');
555 555
 			$local = parse_url($cliUrl);
556 556
 			if (array_key_exists('port', $local)) {
557
-				return $local['host'] . ':' . $local['port'];
557
+				return $local['host'].':'.$local['port'];
558 558
 			} else {
559 559
 				return $local['host'];
560 560
 			}
@@ -619,7 +619,7 @@  discard block
 block discarded – undo
619 619
 			$this->getAppValue(self::TEST_NC_BASE) : $this->getAppValue(self::FORCE_NC_BASE);
620 620
 
621 621
 		if ($ncBase !== '') {
622
-			$absolute = rtrim($ncBase, '/') . $this->urlGenerator->linkToRoute($routeName, $args);
622
+			$absolute = rtrim($ncBase, '/').$this->urlGenerator->linkToRoute($routeName, $args);
623 623
 		} else {
624 624
 			$absolute = $this->urlGenerator->linkToRouteAbsolute($routeName, $args);
625 625
 		}
Please login to merge, or discard this patch.