Passed
Push — develop ( bce1b2...c9a0a4 )
by nguereza
03:14
created
src/NullLogger.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -46,11 +46,9 @@
 block discarded – undo
46 46
 
47 47
 namespace Platine\Logger;
48 48
 
49
-class NullLogger extends AbstractLogger
50
-{
49
+class NullLogger extends AbstractLogger {
51 50
 
52
-    public function __construct(string $channel = 'MAIN', string $logLevel = LogLevel::DEBUG)
53
-    {
51
+    public function __construct(string $channel = 'MAIN', string $logLevel = LogLevel::DEBUG) {
54 52
         parent::__construct($channel, $logLevel);
55 53
     }
56 54
 
Please login to merge, or discard this patch.
src/LogLevel.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,8 +46,7 @@
 block discarded – undo
46 46
 
47 47
 namespace Platine\Logger;
48 48
 
49
-class LogLevel
50
-{
49
+class LogLevel {
51 50
 
52 51
     public const EMERGENCY = 'emergency';
53 52
     public const ALERT = 'alert';
Please login to merge, or discard this patch.
src/FileLogger.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,8 +46,7 @@
 block discarded – undo
46 46
 
47 47
 namespace Platine\Logger;
48 48
 
49
-class FileLogger extends AbstractLogger
50
-{
49
+class FileLogger extends AbstractLogger {
51 50
 
52 51
     /**
53 52
      * The log directory path
Please login to merge, or discard this patch.
src/Logger.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -46,8 +46,7 @@  discard block
 block discarded – undo
46 46
 
47 47
 namespace Platine\Logger;
48 48
 
49
-class Logger
50
-{
49
+class Logger {
51 50
 
52 51
     /**
53 52
      * The logger driver to use
@@ -59,8 +58,7 @@  discard block
 block discarded – undo
59 58
      * Create new logger
60 59
      * @param LoggerInterface $handler the logger driver to use
61 60
      */
62
-    public function __construct(LoggerInterface $handler)
63
-    {
61
+    public function __construct(LoggerInterface $handler) {
64 62
         $this->handler = $handler;
65 63
     }
66 64
 
Please login to merge, or discard this patch.
src/AbstractLogger.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,8 +46,7 @@
 block discarded – undo
46 46
 
47 47
 namespace Platine\Logger;
48 48
 
49
-abstract class AbstractLogger implements LoggerInterface
50
-{
49
+abstract class AbstractLogger implements LoggerInterface {
51 50
 
52 51
     /**
53 52
      * Special minimum log level which will not log any log levels.
Please login to merge, or discard this patch.
src/LoggerInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,8 +46,7 @@
 block discarded – undo
46 46
 
47 47
 namespace Platine\Logger;
48 48
 
49
-interface LoggerInterface
50
-{
49
+interface LoggerInterface {
51 50
 
52 51
     /**
53 52
      * System is unusable.
Please login to merge, or discard this patch.