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 — master ( 34fb17...bef128 )
by Ivan
11:12
created
application/modules/image/models/ErrorImage.php 2 patches
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -22,6 +22,9 @@  discard block
 block discarded – undo
22 22
     protected $backendLink;
23 23
     protected static $classNames;
24 24
 
25
+    /**
26
+     * @param integer $id
27
+     */
25 28
     protected function getPageLinks($id)
26 29
     {
27 30
         /** @var Page $model */
@@ -46,6 +49,9 @@  discard block
 block discarded – undo
46 49
         }
47 50
     }
48 51
 
52
+    /**
53
+     * @param integer $id
54
+     */
49 55
     protected function getCategoryLinks($id)
50 56
     {
51 57
         $model = Category::findById($id, null);
@@ -72,6 +78,9 @@  discard block
 block discarded – undo
72 78
         }
73 79
     }
74 80
 
81
+    /**
82
+     * @param integer $id
83
+     */
75 84
     protected function getProductLinks($id)
76 85
     {
77 86
         $product = Yii::$container->get(Product::class);
Please login to merge, or discard this 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\modules\image\models;
4 4
 
5
+use Yii;
5 6
 use app\backend\components\Helper;
6 7
 use app\models\BaseObject;
7 8
 use app\modules\page\models\Page;
8 9
 use app\modules\shop\models\Category;
9 10
 use app\modules\shop\models\Product;
10
-use Yii;
11 11
 use yii\helpers\Html;
12 12
 
13 13
 /**
Please login to merge, or discard this patch.
application/modules/review/controllers/ProcessController.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,6 +2,7 @@  discard block
 block discarded – undo
2 2
 
3 3
 namespace app\modules\review\controllers;
4 4
 
5
+use Yii;
5 6
 use app\actions\SubmitFormAction;
6 7
 use app\behaviors\spamchecker\SpamCheckerBehavior;
7 8
 use app\components\Controller;
@@ -10,7 +11,6 @@  discard block
 block discarded – undo
10 11
 use app\modules\review\models\RatingItem;
11 12
 use app\modules\review\models\RatingValues;
12 13
 use app\modules\review\models\Review;
13
-use Yii;
14 14
 use yii\helpers\Json;
15 15
 use yii\web\HttpException;
16 16
 
Please login to merge, or discard this patch.
application/modules/seo/models/Redirect.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,10 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace app\modules\seo\models;
4 4
 
5
+use Yii;
5 6
 use yii\data\ActiveDataProvider;
6 7
 use yii\db\ActiveRecord;
7
-use yii\helpers\ArrayHelper;
8
-use Yii;
9 8
 
10 9
 /**
11 10
  * This is the model class for table "seo_redirect".
Please login to merge, or discard this patch.
application/modules/shop/backend/FilterSetsController.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -316,6 +316,9 @@
 block discarded – undo
316 316
         return $result;
317 317
     }
318 318
 
319
+    /**
320
+     * @param string $className
321
+     */
319 322
     private function invalidateTags($className, $ids)
320 323
     {
321 324
         $tags = [
Please login to merge, or discard this patch.
Unused Use Statements   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -2,19 +2,18 @@
 block discarded – undo
2 2
 
3 3
 namespace app\modules\shop\backend;
4 4
 
5
+use Yii;
5 6
 use app\backend\components\BackendController;
6
-use app\modules\shop\models\Category;
7 7
 use app\models\BaseObject;
8
-use app\modules\shop\models\Product;
9 8
 use app\models\Property;
10 9
 use app\models\PropertyGroup;
11 10
 use app\models\PropertyStaticValues;
11
+use app\modules\shop\models\Category;
12 12
 use app\modules\shop\models\FilterSets;
13
+use app\modules\shop\models\Product;
14
+use devgroup\JsTreeWidget\AdjacencyFullTreeDataAction;
13 15
 use devgroup\TagDependencyHelper\ActiveRecordHelper;
14
-use Yii;
15
-use yii\debug\components\search\Filter;
16 16
 use yii\filters\AccessControl;
17
-use devgroup\JsTreeWidget\AdjacencyFullTreeDataAction;
18 17
 use yii\web\BadRequestHttpException;
19 18
 use yii\web\NotFoundHttpException;
20 19
 use yii\web\Response;
Please login to merge, or discard this patch.
application/modules/shop/controllers/BackendWarehouseController.php 1 patch
Unused Use Statements   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -2,25 +2,25 @@
 block discarded – undo
2 2
 
3 3
 namespace app\modules\shop\controllers;
4 4
 
5
+use Yii;
6
+use app\backend\actions\DeleteOne;
7
+use app\backend\actions\MultipleDelete;
8
+use app\backend\actions\UpdateEditable;
5 9
 use app\backend\components\BackendController;
6 10
 use app\components\SearchModel;
7 11
 use app\modules\shop\models\Product;
12
+use app\modules\shop\models\Warehouse;
8 13
 use app\modules\shop\models\WarehouseEmail;
9 14
 use app\modules\shop\models\WarehouseOpeninghours;
10 15
 use app\modules\shop\models\WarehousePhone;
11
-use devgroup\TagDependencyHelper\ActiveRecordHelper;
12
-use app\backend\actions\DeleteOne;
13
-use app\backend\actions\MultipleDelete;
14
-use app\backend\actions\UpdateEditable;
15
-use app\modules\shop\models\Warehouse;
16 16
 use app\modules\shop\models\WarehouseProduct;
17
-use yii\helpers\Url;
18
-use Yii;
17
+use devgroup\TagDependencyHelper\ActiveRecordHelper;
18
+use yii\caching\TagDependency;
19 19
 use yii\data\ActiveDataProvider;
20 20
 use yii\filters\AccessControl;
21
+use yii\helpers\Url;
21 22
 use yii\web\HttpException;
22 23
 use yii\web\NotFoundHttpException;
23
-use yii\caching\TagDependency;
24 24
 
25 25
 class BackendWarehouseController extends BackendController
26 26
 {
Please login to merge, or discard this patch.
application/modules/shop/models/Product.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -344,7 +344,7 @@  discard block
 block discarded – undo
344 344
     }
345 345
 
346 346
     /**
347
-     * @return Category|null
347
+     * @return ActiveQuery
348 348
      */
349 349
     public function getCategory()
350 350
     {
@@ -1115,7 +1115,7 @@  discard block
 block discarded – undo
1115 1115
     }
1116 1116
 
1117 1117
     /**
1118
-     * @param int|Category|null $category
1118
+     * @param integer $category
1119 1119
      * @param bool $asMainCategory
1120 1120
      * @return bool
1121 1121
      * @throws \yii\db\Exception
Please login to merge, or discard this patch.
Unused Use Statements   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -2,31 +2,31 @@
 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\BaseObject;
10
-use app\modules\data\components\ImportableInterface;
11 10
 use app\modules\data\components\ExportableInterface;
11
+use app\modules\data\components\ImportableInterface;
12
+use app\modules\image\models\Image;
13
+use app\modules\shop\ShopModule;
12 14
 use app\modules\shop\data\FilterPagination;
13 15
 use app\modules\shop\traits\HasAddonTrait;
14
-use app\modules\shop\ShopModule;
15 16
 use app\properties\HasProperties;
16 17
 use app\properties\PropertiesHelper;
17 18
 use app\traits\GetImages;
18 19
 use devgroup\TagDependencyHelper\ActiveRecordHelper;
19
-use Yii;
20 20
 use yii\base\Exception;
21 21
 use yii\behaviors\TimestampBehavior;
22 22
 use yii\caching\TagDependency;
23 23
 use yii\data\ActiveDataProvider;
24
+use yii\data\Pagination;
24 25
 use yii\db\ActiveQuery;
25 26
 use yii\db\ActiveRecord;
26 27
 use yii\db\Expression;
27 28
 use yii\db\Query;
28 29
 use yii\helpers\ArrayHelper;
29
-use yii\data\Pagination;
30 30
 use yii\web\ServerErrorHttpException;
31 31
 
32 32
 /**
Please login to merge, or discard this patch.
application/modules/shop/views/backend-category/index.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
+use app\backend\components\Helper;
4
+use devgroup\JsTreeWidget\ContextMenuHelper;
5
+use devgroup\JsTreeWidget\TreeWidget;
3 6
 use kartik\dynagrid\DynaGrid;
4 7
 use kartik\icons\Icon;
5 8
 use yii\helpers\Url;
6
-use devgroup\JsTreeWidget\TreeWidget;
7
-use devgroup\JsTreeWidget\ContextMenuHelper;
8
-use app\backend\components\Helper;
9 9
 
10 10
 $this->title = Yii::t('app', 'Categories');
11 11
 if (is_object($model)) {
Please login to merge, or discard this patch.
application/modules/shop/views/backend-product/index.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
+use app\backend\components\Helper;
3 4
 use app\modules\shop\models\Product;
5
+use devgroup\JsTreeWidget\ContextMenuHelper;
6
+use devgroup\JsTreeWidget\TreeWidget;
4 7
 use kartik\dynagrid\DynaGrid;
5 8
 use kartik\icons\Icon;
6 9
 use yii\helpers\Url;
7
-use devgroup\JsTreeWidget\TreeWidget;
8
-use devgroup\JsTreeWidget\ContextMenuHelper;
9
-use app\backend\components\Helper;
10 10
 
11 11
 $this->title = Yii::t('app', 'Products');
12 12
 $this->params['breadcrumbs'][] = $this->title;
Please login to merge, or discard this patch.
application/modules/shop/views/cart/items.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
  * @var \yii\web\View $this
6 6
  */
7 7
 
8
-use app\modules\shop\models\Product;
9 8
 use kartik\helpers\Html;
10 9
 
11 10
 $immutable = isset($immutable) && $immutable;
Please login to merge, or discard this patch.