Passed
Branch master (5c167b)
by smiley
02:26
created
src/Output/Syslog.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
 
17 17
 /**
18 18
  */
19
-class Syslog extends LogOutputAbstract{
19
+class Syslog extends LogOutputAbstract {
20 20
 
21 21
 	const syslogLevels = [
22 22
 		LogLevel::DEBUG     => LOG_DEBUG,
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
 		LogLevel::EMERGENCY => LOG_EMERG,
30 30
 	];
31 31
 
32
-	protected function __log(string $level, string $message, array $context = null){
32
+	protected function __log(string $level, string $message, array $context = null) {
33 33
 		syslog($this::syslogLevels[$level], $message);
34 34
 	}
35 35
 
Please login to merge, or discard this patch.
src/Output/ConsoleLog.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -14,9 +14,9 @@  discard block
 block discarded – undo
14 14
 
15 15
 /**
16 16
  */
17
-class ConsoleLog extends LogOutputAbstract{
17
+class ConsoleLog extends LogOutputAbstract {
18 18
 
19
-	protected function __log(string $level, string $message, array $context = null){
19
+	protected function __log(string $level, string $message, array $context = null) {
20 20
 		echo $this->message($level, $message, $context);
21 21
 	}
22 22
 
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 		return $this;
27 27
 	}
28 28
 
29
-	protected function message(string $level, string $message, array $context = null){
29
+	protected function message(string $level, string $message, array $context = null) {
30 30
 		return sprintf($this->options->consoleFormat, date($this->options->consoleDateFormat), $level, $message).PHP_EOL;
31 31
 	}
32 32
 }
Please login to merge, or discard this patch.
src/LogException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,4 +12,4 @@
 block discarded – undo
12 12
 
13 13
 namespace chillerlan\Logger;
14 14
 
15
-class LogException extends \Exception{}
15
+class LogException extends \Exception {}
Please login to merge, or discard this patch.