@@ -43,7 +43,7 @@ |
||
| 43 | 43 | * @see \yii\helpers\FileHelper::findFiles() 'except' doc |
| 44 | 44 | * @var array |
| 45 | 45 | */ |
| 46 | - public $exceptTargets= [ |
|
| 46 | + public $exceptTargets = [ |
|
| 47 | 47 | 'config*', |
| 48 | 48 | 'vendor*', |
| 49 | 49 | '*web/*', |
@@ -24,7 +24,7 @@ |
||
| 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; |
@@ -51,7 +51,7 @@ discard block |
||
| 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 |
||
| 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; |