GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Push — filters-dev ( b8c330...c59b06 )
by Ivan
11:21
created
application/modules/shop/controllers/CartController.php 1 patch
Unused Use Statements   +5 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,16 +1,18 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 namespace app\modules\shop\controllers;
3 3
 
4
+use Yii;
4 5
 use app\modules\core\behaviors\DisableRobotIndexBehavior;
5 6
 use app\modules\core\helpers\EventTriggeringHelper;
6 7
 use app\modules\core\models\Events;
8
+use app\modules\shop\ShopModule;
7 9
 use app\modules\shop\events\CartActionEvent;
8
-use app\modules\shop\handlers\CartHandler;
9
-use app\modules\shop\helpers\PriceHelper;
10 10
 use app\modules\shop\events\OrderStageEvent;
11 11
 use app\modules\shop\events\OrderStageLeafEvent;
12
+use app\modules\shop\handlers\CartHandler;
13
+use app\modules\shop\helpers\CurrencyHelper;
14
+use app\modules\shop\helpers\PriceHelper;
12 15
 use app\modules\shop\models\Addon;
13
-use app\modules\shop\models\Currency;
14 16
 use app\modules\shop\models\Order;
15 17
 use app\modules\shop\models\OrderCode;
16 18
 use app\modules\shop\models\OrderItem;
@@ -18,17 +20,12 @@  discard block
 block discarded – undo
18 20
 use app\modules\shop\models\OrderStageLeaf;
19 21
 use app\modules\shop\models\Product;
20 22
 use app\modules\shop\models\SpecialPriceList;
21
-use app\modules\shop\models\UserPreferences;
22
-use app\modules\shop\ShopModule;
23 23
 use yii\base\Event;
24 24
 use yii\helpers\Url;
25
-use Yii;
26
-use yii\helpers\ArrayHelper;
27 25
 use yii\web\BadRequestHttpException;
28 26
 use yii\web\Controller;
29 27
 use yii\web\NotFoundHttpException;
30 28
 use yii\web\Response;
31
-use app\modules\shop\helpers\CurrencyHelper;
32 29
 
33 30
 /**
34 31
  * Class CartController
Please login to merge, or discard this patch.
application/modules/shop/models/AddonBindings.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace app\modules\shop\models;
4 4
 
5
-use app\traits\SortModels;
6 5
 use Yii;
6
+use app\traits\SortModels;
7 7
 use yii\data\ActiveDataProvider;
8 8
 
9 9
 /**
Please login to merge, or discard this patch.
application/modules/shop/models/AddonCategory.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,12 +2,12 @@
 block discarded – undo
2 2
 
3 3
 namespace app\widgets\navigation\models;
4 4
 
5
+use Yii;
5 6
 use app\backgroundtasks\traits\SearchModelTrait;
6 7
 use app\behaviors\Tree;
7 8
 use app\properties\HasProperties;
8 9
 use app\traits\FindById;
9 10
 use app\traits\GetImages;
10
-use Yii;
11 11
 use yii\data\ActiveDataProvider;
12 12
 
13 13
 /**
Please login to merge, or discard this patch.
application/modules/shop/models/CurrencyRateProvider.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,9 +4,8 @@
 block discarded – undo
4 4
 
5 5
 use Ivory\HttpAdapter\HttpAdapterInterface;
6 6
 use Yii;
7
-use yii\helpers\ArrayHelper;
8
-use yii\helpers\Json;
9 7
 use yii\data\ActiveDataProvider;
8
+use yii\helpers\Json;
10 9
 
11 10
 /**
12 11
  * Model for storing name and params of Currency Rate Providers
Please login to merge, or discard this patch.
application/modules/shop/models/OrderItem.php 1 patch
Unused Use Statements   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,16 +2,13 @@
 block discarded – undo
2 2
 
3 3
 namespace app\modules\shop\models;
4 4
 
5
+use Yii;
5 6
 use app\behaviors\Tree;
6 7
 use app\modules\shop\components\AbstractEntity;
7
-use app\modules\shop\components\AddonOrderItemEntityFactory;
8
-use app\modules\shop\components\CustomOrderItemEntityFactory;
9 8
 use app\modules\shop\components\EntityFactory;
10
-use app\modules\shop\components\ProductOrderItemEntityFactory;
11 9
 use app\modules\shop\helpers\PriceHelper;
12 10
 use app\properties\HasProperties;
13 11
 use devgroup\TagDependencyHelper\ActiveRecordHelper;
14
-use Yii;
15 12
 use yii\db\ActiveRecord;
16 13
 
17 14
 /**
Please login to merge, or discard this patch.
application/modules/shop/models/Product.php 2 patches
Unused Use Statements   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -2,29 +2,29 @@
 block discarded – undo
2 2
 
3 3
 namespace app\modules\shop\models;
4 4
 
5
+use Yii;
5 6
 use app\behaviors\CleanRelations;
6 7
 use app\behaviors\Tree;
7 8
 use app\components\Helper;
8
-use app\modules\image\models\Image;
9 9
 use app\models\Object;
10
-use app\modules\data\components\ImportableInterface;
11 10
 use app\modules\data\components\ExportableInterface;
12
-use app\modules\shop\traits\HasAddonTrait;
11
+use app\modules\data\components\ImportableInterface;
12
+use app\modules\image\models\Image;
13 13
 use app\modules\shop\ShopModule;
14
+use app\modules\shop\traits\HasAddonTrait;
14 15
 use app\properties\HasProperties;
15 16
 use app\traits\GetImages;
16 17
 use devgroup\TagDependencyHelper\ActiveRecordHelper;
17
-use Yii;
18 18
 use yii\base\Exception;
19 19
 use yii\behaviors\TimestampBehavior;
20 20
 use yii\caching\TagDependency;
21 21
 use yii\data\ActiveDataProvider;
22
+use yii\data\Pagination;
22 23
 use yii\db\ActiveQuery;
23 24
 use yii\db\ActiveRecord;
24 25
 use yii\db\Expression;
25 26
 use yii\db\Query;
26 27
 use yii\helpers\ArrayHelper;
27
-use yii\data\Pagination;
28 28
 
29 29
 /**
30 30
  * This is the model class for table "product".
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1094,7 +1094,7 @@
 block discarded – undo
1094 1094
     }
1095 1095
 
1096 1096
     /**
1097
-     * @param int|Category|null $category
1097
+     * @param integer $category
1098 1098
      * @param bool $asMainCategory
1099 1099
      * @return bool
1100 1100
      * @throws \yii\db\Exception
Please login to merge, or discard this patch.
application/modules/shop/models/UserPreferences.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace app\modules\shop\models;
3 3
 
4
-use app;
5 4
 use Yii;
6
-use yii\base\Model;
5
+use app;
7 6
 use app\modules\shop\helpers\CurrencyHelper;
7
+use yii\base\Model;
8 8
 
9 9
 /**
10 10
  * Class for handling User's preferences ie:
Please login to merge, or discard this patch.
application/modules/shop/views/backend-addons/index.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2
+use app\backend\components\ActionColumn;
2 3
 use kartik\dynagrid\DynaGrid;
3 4
 use yii\helpers\Html;
4
-use app\backend\components\ActionColumn;
5 5
 /*
6 6
  * @var $dataProvider yii\data\ActiveDataProvider
7 7
  * @var $searchModel app\modules\models\AddonCategory
Please login to merge, or discard this patch.
application/modules/shop/widgets/AddonsListWidget.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 app\widgets\options;
4 4
 
5 5
 use app\models\Property;
6
-use Yii;
7 6
 use yii\base\Widget;
8 7
 use yii\helpers\ArrayHelper;
9 8
 use yii\helpers\Json;
Please login to merge, or discard this patch.