Passed
Push — master ( c27252...10d571 )
by Kanstantsin
04:12
created
src/file/config/Factory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace tkanstantsin\fileupload\config;
5 5
 
Please login to merge, or discard this patch.
src/yii2/model/Query.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace tkanstantsin\yii2fileupload\model;
5 5
 
Please login to merge, or discard this patch.
src/yii2/model/File.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace tkanstantsin\yii2fileupload\model;
5 5
 
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
             // filters
79 79
             [
80 80
                 'name',
81
-                function ($attribute) {
81
+                function($attribute) {
82 82
                     $name = $this->$attribute ?: static::DEFAULT_FILENAME;
83 83
                     // remove all wrong characters
84 84
                     $name = preg_replace('/[^A-zА-я0-9\s]+/u', '-', $name);
Please login to merge, or discard this patch.
src/yii2/action/UploadAction.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace tkanstantsin\yii2fileupload\action;
5 5
 
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
                 $uploadedFile,
126 126
                 $this->fileManager->getAliasConfig($this->ownerModelAlias),
127 127
                 $this->contentFS,
128
-                [ // other config
128
+                [// other config
129 129
                     'parent_model' => $this->ownerModelAlias,
130 130
                     'parent_model_id' => $this->ownerId,
131 131
                 ]);
Please login to merge, or discard this patch.
src/yii2/action/AbstractAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace tkanstantsin\yii2fileupload\action;
5 5
 
Please login to merge, or discard this patch.
src/yii2/action/GetAction.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace tkanstantsin\yii2fileupload\action;
5 5
 
@@ -176,6 +176,6 @@  discard block
 block discarded – undo
176 176
             $options['height'] = $height;
177 177
         }
178 178
 
179
-        return [$fileType, $options,];
179
+        return [$fileType, $options, ];
180 180
     }
181 181
 }
Please login to merge, or discard this patch.
src/yii2/LocalFilesystem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * @link https://github.com/creocoder/yii2-flysystem
Please login to merge, or discard this patch.
src/yii2/FileManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace tkanstantsin\yii2fileupload;
5 5
 
Please login to merge, or discard this patch.
src/file/formatter/icon/IconGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace tkanstantsin\fileupload\formatter\icon;
5 5
 
Please login to merge, or discard this patch.