Passed
Push — master ( 0dfe52...1cd536 )
by Evgenii
03:38
created
src/controllers/ConsoleController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
         $commands[] = "find {$module->storageFullPath}  -regextype egrep -regex \".+/.{32}\..{3,4}\.jpg\" -exec rm -rf {} \;";
47 47
         $commands[] = "find {$module->cacheFullPath}  -regextype egrep -regex \".+/.{32}\..{3,4}\.jpg\" -exec rm -rf {} \;";
48 48
 
49
-        array_map(function ($command) {
49
+        array_map(function($command) {
50 50
             exec($command);
51 51
         }, $commands);
52 52
 
Please login to merge, or discard this patch.
src/components/FileBehaviour.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -205,7 +205,7 @@
 block discarded – undo
205 205
         if (isset($this->_values[$att_name])) {
206 206
             unset($this->_values[$att_name][0]);
207 207
             if (sizeof($this->_values[$att_name]))
208
-                return array_map(function ($fileId) {
208
+                return array_map(function($fileId) {
209 209
                     return File::findOne($fileId);
210 210
                 }, $this->_values[$att_name]);
211 211
         } else {
Please login to merge, or discard this patch.
src/views/default/_single.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
             <?= Html::hiddenInput($name ?: ((new ReflectionClass($model->class))->getShortName() . "[{$model->field}_ids][]"), $model->id) ?>
42 42
         </div>
43 43
 
44
-    <?php else: ?>
44
+    <?php else : ?>
45 45
 
46 46
         <div data-title="<?= $model->title ?>"
47 47
              id="yii2-file-object-<?= $model->id ?>"
Please login to merge, or discard this patch.