Passed
Push — master ( 5c167b...ca59bb )
by smiley
02:36
created
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.
src/LogOptions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,6 +19,6 @@
 block discarded – undo
19 19
  * @property string $consoleFormat
20 20
  * @property string $consoleDateFormat
21 21
  */
22
-class LogOptions extends ContainerAbstract{
22
+class LogOptions extends ContainerAbstract {
23 23
 	use LogOptionsTrait;
24 24
 }
Please login to merge, or discard this patch.
src/LogOptionsTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 
15 15
 use Psr\Log\LogLevel;
16 16
 
17
-trait LogOptionsTrait{
17
+trait LogOptionsTrait {
18 18
 
19 19
 	/**
20 20
 	 * @see \Psr\Log\LogLevel
Please login to merge, or discard this patch.