Completed
Push — master ( 8a4c11...c322ac )
by Insolita
02:19
created
src/controllers/DefaultController.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 
25 25
     /**
26 26
      * If true will output files with failed reads by Reflection class
27
-    */
27
+     */
28 28
     public $showErrors = false;
29 29
     
30 30
     protected $climate;
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
         $this->headline('YII-2 Code Statistic', 'lightYellow');
52 52
         $this->climate->table($summary);
53 53
 
54
-        if($this->showErrors === true){
54
+        if ($this->showErrors === true) {
55 55
             $this->headline('Failed for resolve', 'lightYellow');
56 56
             $this->climate->table($service->errorList());
57 57
         }
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
                     $value = $this->wrap($value, 'light_cyan');
79 79
                 }
80 80
                 $key = $this->wrap($key, 'green');
81
-                $colorized[$i][$key] = (string)$value;
81
+                $colorized[$i][$key] = (string) $value;
82 82
             }
83 83
         }
84 84
         return $colorized;
Please login to merge, or discard this patch.
src/lib/CodestatService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
                     yield $reflection;
137 137
                 }
138 138
             } catch (\Exception $e) {
139
-                $this->withErrors[] = ['class'=>$class, 'error'=>$e->getMessage().' '.$e->getFile().':'.$e->getLine()];
139
+                $this->withErrors[] = ['class'=>$class, 'error'=>$e->getMessage() . ' ' . $e->getFile() . ':' . $e->getLine()];
140 140
             }
141 141
         }
142 142
     }
Please login to merge, or discard this patch.