Passed
Branch master (78de5a)
by Insolita
02:48
created
Category
src/CodeStatModule.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/controllers/DefaultController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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,
Please login to merge, or discard this patch.