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.

Code Duplication    Length = 9-18 lines in 8 locations

application/backend/controllers/SpamCheckerController.php 1 location

@@ 33-45 (lines=13) @@
30
        ];
31
    }
32
33
    public function actionIndex()
34
    {
35
        $searchModel = new SpamChecker;
36
        $params = Yii::$app->request->get();
37
        $dataProvider = $searchModel->search($params);
38
        return $this->render(
39
            'index',
40
            [
41
                'dataProvider' => $dataProvider,
42
                'searchModel' => $searchModel,
43
            ]
44
        );
45
    }
46
47
    public function actionEdit($id = null)
48
    {

application/modules/image/controllers/BackendThumbnailSizeController.php 1 location

@@ 28-42 (lines=15) @@
25
        ];
26
    }
27
28
    public function actionIndex()
29
    {
30
        $searchModel = new ThumbnailSize;
31
32
        $params = Yii::$app->request->get();
33
        $dataProvider = $searchModel->search($params);
34
35
        return $this->render(
36
            'index',
37
            [
38
                'dataProvider' => $dataProvider,
39
                'searchModel' => $searchModel,
40
            ]
41
        );
42
    }
43
44
    public function actionEdit($id = null)
45
    {

application/modules/image/controllers/BackendWatermarkController.php 1 location

@@ 29-43 (lines=15) @@
26
        ];
27
    }
28
29
    public function actionIndex()
30
    {
31
        $searchModel = new Watermark();
32
33
        $params = Yii::$app->request->get();
34
        $dataProvider = $searchModel->search($params);
35
36
        return $this->render(
37
            'index',
38
            [
39
                'dataProvider' => $dataProvider,
40
                'searchModel' => $searchModel,
41
            ]
42
        );
43
    }
44
45
    public function actionEdit($id = null)
46
    {

application/modules/shop/controllers/BackendDiscountController.php 1 location

@@ 32-49 (lines=18) @@
29
        ];
30
    }
31
32
    public function actionIndex()
33
    {
34
        $searchModel = new Discount();
35
36
        $params = Yii::$app->request->get();
37
        $dataProvider = $searchModel->search($params);
38
39
        $model = null;
40
41
        return $this->render(
42
            'index',
43
            [
44
                'dataProvider' => $dataProvider,
45
                'searchModel' => $searchModel,
46
                'model' => $model,
47
            ]
48
        );
49
    }
50
51
52
    /**

application/modules/shop/controllers/BackendStageController.php 2 locations

@@ 37-45 (lines=9) @@
34
        return $this->render('index');
35
    }
36
37
    public function actionStageIndex()
38
    {
39
        $searchModel = new OrderStage();
40
        $dataProvider = $searchModel->search(Yii::$app->request->get());
41
        return $this->render('stage-index', [
42
            'searchModel' => $searchModel,
43
            'dataProvider' => $dataProvider,
44
        ]);
45
    }
46
47
    public function actionLeafIndex()
48
    {
@@ 47-55 (lines=9) @@
44
        ]);
45
    }
46
47
    public function actionLeafIndex()
48
    {
49
        $searchModel = new OrderStageLeaf();
50
        $dataProvider = $searchModel->search(Yii::$app->request->get());
51
        return $this->render('leaf-index', [
52
            'searchModel' => $searchModel,
53
            'dataProvider' => $dataProvider,
54
        ]);
55
    }
56
57
    public function actionStageEdit($id = null)
58
    {

application/modules/shop/backend/AddonsController.php 2 locations

@@ 81-95 (lines=15) @@
78
     * Renders AddonCategory grid
79
     * @return string
80
     */
81
    public function actionIndex()
82
    {
83
        $searchModel = new AddonCategory();
84
        $params = Yii::$app->request->get();
85
86
        $dataProvider = $searchModel->search($params);
87
88
        return $this->render(
89
            'index',
90
            [
91
                'searchModel' => $searchModel,
92
                'dataProvider' => $dataProvider,
93
            ]
94
        );
95
    }
96
97
    /**
98
     * Add or edit existing AddonCategory model
@@ 126-143 (lines=18) @@
123
     * @return string
124
     * @throws NotFoundHttpException
125
     */
126
    public function actionViewCategory($id)
127
    {
128
        /** @var AddonCategory $addonCategory */
129
        $addonCategory = $this->loadModel(AddonCategory::className(), $id);
130
        $searchModel = new Addon();
131
        $params = Yii::$app->request->get();
132
133
        $dataProvider = $searchModel->search($params, $addonCategory->id);
134
135
        return $this->render(
136
            'addons-list',
137
            [
138
                'searchModel' => $searchModel,
139
                'dataProvider' => $dataProvider,
140
                'addonCategory' => $addonCategory,
141
            ]
142
        );
143
    }
144
145
    /**
146
     * Add or edit existing Addon model