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

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