Passed
Push — master ( aa651f...303d68 )
by Joas
15:15 queued 12s
created
lib/private/Log/ErrorHandler.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 		$error = error_get_last();
67 67
 		if ($error && self::$logger) {
68 68
 			//ob_end_clean();
69
-			$msg = $error['message'] . ' at ' . $error['file'] . '#' . $error['line'];
69
+			$msg = $error['message'].' at '.$error['file'].'#'.$error['line'];
70 70
 			self::$logger->critical(self::removePassword($msg), ['app' => 'PHP']);
71 71
 		}
72 72
 	}
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
 	public static function onException($exception) {
80 80
 		$class = get_class($exception);
81 81
 		$msg = $exception->getMessage();
82
-		$msg = "$class: $msg at " . $exception->getFile() . '#' . $exception->getLine();
82
+		$msg = "$class: $msg at ".$exception->getFile().'#'.$exception->getLine();
83 83
 		self::$logger->critical(self::removePassword($msg), ['app' => 'PHP']);
84 84
 	}
85 85
 
@@ -88,14 +88,14 @@  discard block
 block discarded – undo
88 88
 		if (error_reporting() === 0) {
89 89
 			return;
90 90
 		}
91
-		$msg = $message . ' at ' . $file . '#' . $line;
91
+		$msg = $message.' at '.$file.'#'.$line;
92 92
 		$e = new \Error(self::removePassword($msg));
93 93
 		self::$logger->logException($e, ['app' => 'PHP', 'level' => self::errnoToLogLevel($number)]);
94 94
 	}
95 95
 
96 96
 	//Recoverable handler which catch all errors, warnings and notices
97 97
 	public static function onAll($number, $message, $file, $line) {
98
-		$msg = $message . ' at ' . $file . '#' . $line;
98
+		$msg = $message.' at '.$file.'#'.$line;
99 99
 		$e = new \Error(self::removePassword($msg));
100 100
 		self::$logger->logException($e, ['app' => 'PHP', 'level' => self::errnoToLogLevel($number)]);
101 101
 	}
Please login to merge, or discard this patch.