Passed
Push — master ( bffbb7...bd72d4 )
by 世昌
02:18
created
nebula/component/loader/LoaderAwareTrait.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -5,11 +5,11 @@
 block discarded – undo
5 5
 
6 6
 trait LoaderAwareTrait
7 7
 {
8
-     /**
9
-     * 加载器
10
-     *
11
-     * @var Loader
12
-     */
8
+        /**
9
+         * 加载器
10
+         *
11
+         * @var Loader
12
+         */
13 13
     protected $loader;
14 14
 
15 15
     
Please login to merge, or discard this patch.
nebula/component/debug/log/logger/ConsoleLogger.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 {
9 9
     public function log($level, string $message, array $context = [])
10 10
     {
11
-        print date('Y-m-d H:i:s') .' ' . $this->interpolate($message, $context) . PHP_EOL;
11
+        print date('Y-m-d H:i:s').' '.$this->interpolate($message, $context).PHP_EOL;
12 12
     }
13 13
 
14 14
     public function interpolate(string $message, array $context)
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
         $replace = array();
17 17
         foreach ($context as $key => $val) {
18 18
             if (!is_array($val) && (!is_object($val) || method_exists($val, '__toString'))) {
19
-                $replace['{' . $key . '}'] = $val;
19
+                $replace['{'.$key.'}'] = $val;
20 20
             }
21 21
         }
22 22
         return strtr($message, $replace);
Please login to merge, or discard this patch.
nebula/component/debug/log/logger/FileLogger.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
         $replace = array();
31 31
         foreach ($context as $key => $val) {
32 32
             if (!is_array($val) && (!is_object($val) || method_exists($val, '__toString'))) {
33
-                $replace['{' . $key . '}'] = $val;
33
+                $replace['{'.$key.'}'] = $val;
34 34
             }
35 35
         }
36 36
         return strtr($message, $replace);
Please login to merge, or discard this patch.
nebula/component/debug/Debug.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 
9 9
 class Debug implements LoggerInterface, LoggerAwareInterface
10 10
 {
11
-    use LoggerTrait,LoggerAwareTrait;
11
+    use LoggerTrait, LoggerAwareTrait;
12 12
 
13 13
     public function log(string $level, string $message, array $context = [])
14 14
     {
Please login to merge, or discard this patch.