Completed
Branch master (b30f8b)
by Basil
06:06
created
core/web/UrlManager.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace luya\web;
4 4
 
5 5
 use Yii;
6
-use luya\helpers\Url;
7 6
 use yii\web\BadRequestHttpException;
8 7
 
9 8
 /**
Please login to merge, or discard this patch.
envs/dev/properties/TestProperty.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace app\properties;
4 4
 
5
-use Yii;
6
-
7 5
 class TestProperty extends \admin\base\Property
8 6
 {
9 7
     public function init()
Please login to merge, or discard this patch.
modules/admin/apis/StorageController.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Yii;
6 6
 use Exception;
7 7
 use admin\helpers\Storage;
8
-use admin\models\StorageImage;
9 8
 use admin\models\StorageFile;
10 9
 use admin\models\StorageFolder;
11 10
 use admin\Module;
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
      * @todo http://php.net/manual/en/features.file-upload.errors.php
103 103
      *
104 104
      * @return array|json Key represents the uploaded file name, value represents the id in the database.
105
-    */
105
+     */
106 106
     public function actionFilesUpload()
107 107
     {
108 108
         foreach ($_FILES as $k => $file) {
Please login to merge, or discard this patch.
modules/admin/controllers/DefaultController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace admin\controllers;
4 4
 
5 5
 use Yii;
6
-use admin\Module;
7 6
 use luya\helpers\Url;
8 7
 use yii\helpers\Json;
9 8
 
Please login to merge, or discard this patch.
modules/cmsadmin/apis/MenuController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use yii\db\Query;
6 6
 use luya\helpers\ArrayHelper;
7
-use cmsadmin\models\NavContainer;
8 7
 use admin\models\Lang;
9 8
 
10 9
 class MenuController extends \admin\base\RestController
Please login to merge, or discard this patch.
modules/crawler/classes/CrawlPage.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Goutte\Client;
6 6
 use yii\base\InvalidConfigException;
7 7
 use yii\base\yii\base;
8
-use luya\helpers\Url;
9 8
 
10 9
 class CrawlPage extends \yii\base\Object
11 10
 {
Please login to merge, or discard this patch.
core/console/commands/views/aw/create.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @var $className
4
- * @var $namespace
5
- * @var $luya
6
- * @var $moduleId
7
- * @var $alias
8
- */
3
+     * @var $className
4
+     * @var $namespace
5
+     * @var $luya
6
+     * @var $moduleId
7
+     * @var $alias
8
+     */
9 9
 
10 10
 echo "<?php\n";
11 11
 ?>
Please login to merge, or discard this patch.
modules/cmsadmin/blocks/AudioBlock.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,9 +24,9 @@
 block discarded – undo
24 24
     public function config()
25 25
     {
26 26
         return [
27
-           'vars' => [
27
+            'vars' => [
28 28
                 ['var' => 'soundUrl', 'label' => 'Embeded Code', 'type' => 'zaa-text'],
29
-           ],
29
+            ],
30 30
         ];
31 31
     }
32 32
 
Please login to merge, or discard this patch.
modules/cmsadmin/blocks/FormBlock.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
                     '{% if extras.name and extras.email and extras.message %}'.
126 126
                         '{% if extras.mailerResponse == "success" %}'.
127 127
                             '<div class="alert alert-success">{{ extras.sendSuccess }}</div>'.
128
-                         '{% else %}'.
128
+                            '{% else %}'.
129 129
                             '<div class="alert alert-danger">{{ extras.sendError }}</div>'.
130 130
                         '{% endif %}'.
131 131
                     '{% endif %}'.
Please login to merge, or discard this patch.