@@ -65,13 +65,13 @@ discard block |
||
65 | 65 | $this->headline('YII-2 Code Statistic', 'lightYellow'); |
66 | 66 | $this->climate->table($summary); |
67 | 67 | |
68 | - if($showErrors !== true){ |
|
68 | + if ($showErrors !== true) { |
|
69 | 69 | return ExitCode::OK; |
70 | 70 | } |
71 | 71 | $this->headline('Failed for resolve', 'lightYellow'); |
72 | - if(!count($service->errorList())){ |
|
72 | + if (!count($service->errorList())) { |
|
73 | 73 | $this->climate->info('Errors not found'); |
74 | - } else{ |
|
74 | + } else { |
|
75 | 75 | Output::arrayList($service->errorList()); |
76 | 76 | } |
77 | 77 | return ExitCode::OK; |
@@ -218,7 +218,7 @@ discard block |
||
218 | 218 | { |
219 | 219 | foreach ($data as $index => $line) { |
220 | 220 | if ($line === 'Group') { |
221 | - if($skipHeaders === true){ |
|
221 | + if ($skipHeaders === true) { |
|
222 | 222 | continue; |
223 | 223 | } |
224 | 224 | $this->stdout($index, self::$metricGroups[$index], Console::BOLD); |