Passed
Push — master ( 867787...2f26ff )
by Christoph
33:52 queued 19:34
created
lib/private/Http/WellKnown/RequestManager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 
76 76
 		$subject = $request->getParam('resource');
77 77
 		$initialResponse = new JrdResponse($subject ?? '');
78
-		$finalResponse = array_reduce($handlers, function (?IResponse $previousResponse, IHandler $handler) use ($context, $service) {
78
+		$finalResponse = array_reduce($handlers, function(?IResponse $previousResponse, IHandler $handler) use ($context, $service) {
79 79
 			return $handler->handle($service, $context, $previousResponse);
80 80
 		}, $initialResponse);
81 81
 
@@ -97,10 +97,10 @@  discard block
 block discarded – undo
97 97
 		}
98 98
 
99 99
 		$registrations = $context->getWellKnownHandlers();
100
-		$this->logger->debug(count($registrations) . " well known handlers registered");
100
+		$this->logger->debug(count($registrations)." well known handlers registered");
101 101
 
102 102
 		return array_filter(
103
-			array_map(function (ServiceRegistration $registration) {
103
+			array_map(function(ServiceRegistration $registration) {
104 104
 				/** @var ServiceRegistration<IHandler> $registration */
105 105
 				$class = $registration->getService();
106 106
 
Please login to merge, or discard this patch.
lib/private/AppFramework/Bootstrap/RegistrationContext.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
 		$this->logger = $logger;
96 96
 	}
97 97
 
98
-	public function for(string $appId): IRegistrationContext {
98
+	public function for (string $appId): IRegistrationContext {
99 99
 		return new class($appId, $this) implements IRegistrationContext {
100 100
 			/** @var string */
101 101
 			private $appId;
@@ -289,7 +289,7 @@  discard block
 block discarded – undo
289 289
 			} catch (Throwable $e) {
290 290
 				$appId = $registration->getAppId();
291 291
 				$this->logger->logException($e, [
292
-					'message' => "Error during capability registration of $appId: " . $e->getMessage(),
292
+					'message' => "Error during capability registration of $appId: ".$e->getMessage(),
293 293
 					'level' => ILogger::ERROR,
294 294
 				]);
295 295
 			}
@@ -306,7 +306,7 @@  discard block
 block discarded – undo
306 306
 			} catch (Throwable $e) {
307 307
 				$appId = $registration->getAppId();
308 308
 				$this->logger->logException($e, [
309
-					'message' => "Error during crash reporter registration of $appId: " . $e->getMessage(),
309
+					'message' => "Error during crash reporter registration of $appId: ".$e->getMessage(),
310 310
 					'level' => ILogger::ERROR,
311 311
 				]);
312 312
 			}
@@ -323,7 +323,7 @@  discard block
 block discarded – undo
323 323
 			} catch (Throwable $e) {
324 324
 				$appId = $panel->getAppId();
325 325
 				$this->logger->logException($e, [
326
-					'message' => "Error during dashboard registration of $appId: " . $e->getMessage(),
326
+					'message' => "Error during dashboard registration of $appId: ".$e->getMessage(),
327 327
 					'level' => ILogger::ERROR,
328 328
 				]);
329 329
 			}
@@ -341,7 +341,7 @@  discard block
 block discarded – undo
341 341
 			} catch (Throwable $e) {
342 342
 				$appId = $registration->getAppId();
343 343
 				$this->logger->logException($e, [
344
-					'message' => "Error during event listener registration of $appId: " . $e->getMessage(),
344
+					'message' => "Error during event listener registration of $appId: ".$e->getMessage(),
345 345
 					'level' => ILogger::ERROR,
346 346
 				]);
347 347
 			}
@@ -367,7 +367,7 @@  discard block
 block discarded – undo
367 367
 			} catch (Throwable $e) {
368 368
 				$appId = $registration->getAppId();
369 369
 				$this->logger->logException($e, [
370
-					'message' => "Error during service registration of $appId: " . $e->getMessage(),
370
+					'message' => "Error during service registration of $appId: ".$e->getMessage(),
371 371
 					'level' => ILogger::ERROR,
372 372
 				]);
373 373
 			}
@@ -384,7 +384,7 @@  discard block
 block discarded – undo
384 384
 			} catch (Throwable $e) {
385 385
 				$appId = $registration->getAppId();
386 386
 				$this->logger->logException($e, [
387
-					'message' => "Error during service alias registration of $appId: " . $e->getMessage(),
387
+					'message' => "Error during service alias registration of $appId: ".$e->getMessage(),
388 388
 					'level' => ILogger::ERROR,
389 389
 				]);
390 390
 			}
@@ -401,7 +401,7 @@  discard block
 block discarded – undo
401 401
 			} catch (Throwable $e) {
402 402
 				$appId = $registration->getAppId();
403 403
 				$this->logger->logException($e, [
404
-					'message' => "Error during service alias registration of $appId: " . $e->getMessage(),
404
+					'message' => "Error during service alias registration of $appId: ".$e->getMessage(),
405 405
 					'level' => ILogger::ERROR,
406 406
 				]);
407 407
 			}
@@ -420,7 +420,7 @@  discard block
 block discarded – undo
420 420
 			} catch (Throwable $e) {
421 421
 				$appId = $middleware->getAppId();
422 422
 				$this->logger->logException($e, [
423
-					'message' => "Error during capability registration of $appId: " . $e->getMessage(),
423
+					'message' => "Error during capability registration of $appId: ".$e->getMessage(),
424 424
 					'level' => ILogger::ERROR,
425 425
 				]);
426 426
 			}
Please login to merge, or discard this patch.
lib/private/Search/SearchComposer.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
 			} catch (QueryException $e) {
102 102
 				// Log an continue. We can be fault tolerant here.
103 103
 				$this->logger->logException($e, [
104
-					'message' => 'Could not load search provider dynamically: ' . $e->getMessage(),
104
+					'message' => 'Could not load search provider dynamically: '.$e->getMessage(),
105 105
 					'level' => ILogger::ERROR,
106 106
 					'app' => $registration->getAppId(),
107 107
 				]);
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
 		$this->loadLazyProviders();
123 123
 
124 124
 		$providers = array_values(
125
-			array_map(function (IProvider $provider) use ($route, $routeParameters) {
125
+			array_map(function(IProvider $provider) use ($route, $routeParameters) {
126 126
 				return [
127 127
 					'id' => $provider->getId(),
128 128
 					'name' => $provider->getName(),
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
 			}, $this->providers)
132 132
 		);
133 133
 
134
-		usort($providers, function ($provider1, $provider2) {
134
+		usort($providers, function($provider1, $provider2) {
135 135
 			return $provider1['order'] <=> $provider2['order'];
136 136
 		});
137 137
 
Please login to merge, or discard this patch.