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 = 15-18 lines in 3 locations

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

@@ 94-111 (lines=18) @@
91
        );
92
    }
93
94
    public function actionDelete($id = null)
95
    {
96
        $model = ThumbnailSize::findOne($id);
97
        if ($model === null) {
98
            throw new NotFoundHttpException;
99
        }
100
        $model->delete();
101
102
        Yii::$app->session->setFlash('info', Yii::t('app', 'Object removed'));
103
104
105
        return $this->redirect(
106
            Yii::$app->request->get(
107
                'returnUrl',
108
                Url::toRoute(['index'])
109
            )
110
        );
111
    }
112
113
    public function actionRemoveAll()
114
    {

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

@@ 99-116 (lines=18) @@
96
        );
97
    }
98
99
    public function actionDelete($id = null)
100
    {
101
        $model = Watermark::findOne($id);
102
        if ($model === null) {
103
            throw new NotFoundHttpException;
104
        }
105
        $model->delete();
106
107
        Yii::$app->session->setFlash('info', Yii::t('app', 'Object removed'));
108
109
110
        return $this->redirect(
111
            Yii::$app->request->get(
112
                'returnUrl',
113
                Url::toRoute(['index'])
114
            )
115
        );
116
    }
117
118
    public function actionRemoveAll()
119
    {

application/modules/core/controllers/BackendChunkController.php 1 location

@@ 114-128 (lines=15) @@
111
        );
112
    }
113
114
    public function actionDelete($id = null)
115
    {
116
        if ((null === $id) || (null === $model = ContentBlock::findOne($id))) {
117
            throw new NotFoundHttpException;
118
        }
119
        if ($model->delete()) {
120
            Yii::$app->session->setFlash('info', Yii::t('app', 'Object removed'));
121
        }
122
        return $this->redirect(
123
            Yii::$app->request->get(
124
                'returnUrl',
125
                Url::toRoute(['index'])
126
            )
127
        );
128
    }
129
130
    public function actionRemoveAll()
131
    {