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 = 10-10 lines in 2 locations

application/modules/image/models/Watermark.php 1 location

@@ 50-59 (lines=10) @@
47
        ];
48
    }
49
50
    public static function getPositions()
51
    {
52
        return [
53
            self::POSITION_TOP_LEFT => Yii::t('app', 'TOP LEFT'),
54
            self::POSITION_TOP_RIGHT => Yii::t('app', 'TOP RIGHT'),
55
            self::POSITION_BOTTOM_LEFT => Yii::t('app', 'BOTTOM LEFT'),
56
            self::POSITION_BOTTOM_RIGHT => Yii::t('app', 'BOTTOM RIGHT'),
57
            self::POSITION_CENTER => Yii::t('app', 'CENTER'),
58
        ];
59
    }
60
61
    /**
62
     * @inheritdoc

application/models/Submission.php 1 location

@@ 188-197 (lines=10) @@
185
        return $this->hasOne(Form::className(), ['id' => 'form_id']);
186
    }
187
188
    public static function getStatuses()
189
    {
190
        return [
191
            self::STATUS_NEW => Yii::t('app', 'New'),
192
            self::STATUS_SUCCESS => Yii::t('app', 'Success'),
193
            self::STATUS_ERROR => Yii::t('app', 'Error'),
194
            self::STATUS_FATAL_ERROR => Yii::t('app', 'Fatal error'),
195
            self::STATUS_HOPELESS_ERROR => Yii::t('app', 'Hopeless error'),
196
        ];
197
    }
198
}
199