@@ -131,7 +131,7 @@ discard block |
||
| 131 | 131 | 'Widgets' => Widget::class, |
| 132 | 132 | 'Components' => Component::class, |
| 133 | 133 | 'Objects' => Object::class, |
| 134 | - 'PureClass' => function (\ReflectionClass $reflection) { |
|
| 134 | + 'PureClass' => function(\ReflectionClass $reflection) { |
|
| 135 | 135 | return ( |
| 136 | 136 | !$reflection->getParentClass() |
| 137 | 137 | && !$reflection->isInterface() |
@@ -144,7 +144,7 @@ discard block |
||
| 144 | 144 | |
| 145 | 145 | protected function prepareScanTargets() |
| 146 | 146 | { |
| 147 | - $this->scanTargets = array_map(function ($path) { |
|
| 147 | + $this->scanTargets = array_map(function($path) { |
|
| 148 | 148 | return \Yii::getAlias($path); |
| 149 | 149 | }, $this->scanTargets); |
| 150 | 150 | } |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | if ($key === 'Group') { |
| 65 | 65 | $value = $this->wrap($value, 'yellow'); |
| 66 | 66 | } |
| 67 | - if ($i == count($summary)-1) { |
|
| 67 | + if ($i == count($summary) - 1) { |
|
| 68 | 68 | $value = $this->wrap($value, 'light_cyan'); |
| 69 | 69 | } |
| 70 | 70 | $key = $this->wrap($key, 'green'); |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | { |
| 87 | 87 | $files = []; |
| 88 | 88 | foreach ($this->module->scanTargets as $dir) { |
| 89 | - $files = array_merge( FileHelper::findFiles($dir, [ |
|
| 89 | + $files = array_merge(FileHelper::findFiles($dir, [ |
|
| 90 | 90 | 'only' => ['*.php'], |
| 91 | 91 | 'except' => $this->module->exceptTargets, |
| 92 | 92 | 'caseSensitive'=>false, |