Completed
Push — master ( e9f632...e6bbe5 )
by Alexey
11:02
created
api/components/IpLimiter.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     /**
30 30
      * @param \yii\web\Request $request
31 31
      * @param \yii\base\Action $action
32
-     * @return array
32
+     * @return integer[]
33 33
      */
34 34
     public function getRateLimit($request, $action)
35 35
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace api\components;
4 4
 
5
-use Yii;
5
+use Yii;
6 6
 use yii\filters\RateLimitInterface;
7 7
 
8 8
 /**
Please login to merge, or discard this patch.
api/tests/acceptance/UserCest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,9 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace api\tests\acceptance;
3 3
 
4
-use Yii;
5 4
 use api\tests\AcceptanceTester;
6
-use yii\helpers\Url;
7 5
 
8 6
 class UserCest
9 7
 {
Please login to merge, or discard this patch.
backend/views/layouts/login.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,10 +3,10 @@
 block discarded – undo
3 3
 /* @var $this \yii\web\View */
4 4
 /* @var $content string */
5 5
 
6
-use yii\helpers\Html;
7
-use yii\helpers\Url;
8 6
 use backend\assets\LoginAsset;
9 7
 use common\widgets\Alert;
8
+use yii\helpers\Html;
9
+use yii\helpers\Url;
10 10
 
11 11
 LoginAsset::register($this);
12 12
 ?>
Please login to merge, or discard this patch.
backend/views/layouts/main.php 1 patch
Unused Use Statements   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -5,15 +5,15 @@
 block discarded – undo
5 5
 
6 6
 use backend\assets\AppAsset;
7 7
 use backend\assets\plugins\iCheckAsset;
8
-use yii\helpers\Html;
9
-use yii\helpers\Url;
10
-use yii\widgets\Menu;
11
-use yii\widgets\Breadcrumbs;
12 8
 use common\widgets\Alert;
13
-use modules\users\widgets\AvatarWidget;
14 9
 use modules\main\Module as MainModule;
15
-use modules\users\Module as UserModule;
16 10
 use modules\rbac\Module as RbacModule;
11
+use modules\users\Module as UserModule;
12
+use modules\users\widgets\AvatarWidget;
13
+use yii\helpers\Html;
14
+use yii\helpers\Url;
15
+use yii\widgets\Breadcrumbs;
16
+use yii\widgets\Menu;
17 17
 
18 18
 iCheckAsset::register($this);
19 19
 AppAsset::register($this);
Please login to merge, or discard this patch.
backend/widgets/control/ControlSidebar.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 backend\widgets\control;
4 4
 
5
-use Yii;
6
-
7 5
 /**
8 6
  * Class ControlSidebar
9 7
  * @package backend\themes\AdminLTE\widgets
Please login to merge, or discard this patch.
backend/widgets/search/SearchSidebar.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 backend\widgets\search;
4 4
 
5
-use Yii;
6
-
7 5
 /**
8 6
  * Class SearchSidebar
9 7
  * @package backend\widgets\search
Please login to merge, or discard this patch.
common/mail/layouts/text.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,4 @@
 block discarded – undo
1 1
 <?php
2
-use yii\helpers\Html;
3 2
 
4 3
 /* @var $this \yii\web\View view component instance */
5 4
 /* @var $message \yii\mail\MessageInterface the message being composed */
Please login to merge, or discard this patch.
modules/main/views/backend/default/index.php 1 patch
Unused Use Statements   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,10 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use yii\helpers\Url;
4
-use modules\users\Module as UserModule;
5
-use modules\rbac\Module as RbacModule;
6
-use dominus77\sweetalert2\Alert;
7 3
 use modules\main\Module;
4
+use modules\rbac\Module as RbacModule;
5
+use modules\users\Module as UserModule;
6
+use yii\helpers\Url;
8 7
 
9 8
 /* @var $this yii\web\View */
10 9
 
Please login to merge, or discard this patch.
modules/rbac/components/behavior/AccessBehavior.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace modules\rbac\components\behavior;
4 4
 
5
-use Yii;
6
-use yii\base\Behavior;
5
+use Yii;
6
+use yii\base\Behavior;
7 7
 use yii\console\Controller;
8 8
 
9 9
 /**
Please login to merge, or discard this patch.