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-13 lines in 3 locations

application/backgroundtasks/controllers/ManageController.php 1 location

@@ 45-57 (lines=13) @@
42
     * View all Task models.
43
     * @return string
44
     */
45
    public function actionIndex()
46
    {
47
        $searchModel = new Task(['scenario' => 'search']);
48
        $dataProvider = $searchModel->search($_GET);
49
50
        return $this->render(
51
            'index',
52
            [
53
                'dataProvider' => $dataProvider,
54
                'searchModel' => $searchModel,
55
            ]
56
        );
57
    }
58
59
    /**
60
     * Updates an existing Task model.

application/modules/core/backend/WysiwygController.php 1 location

@@ 40-49 (lines=10) @@
37
     * Lists all Wysiwyg models.
38
     * @return mixed
39
     */
40
    public function actionIndex()
41
    {
42
        $searchModel = new Wysiwyg(['scenario' => 'search']);
43
        $dataProvider = $searchModel->search($_GET);
44
45
        return $this->render('index', [
46
            'dataProvider' => $dataProvider,
47
            'searchModel' => $searchModel
48
        ]);
49
    }
50
51
    /**
52
     * Displays a single Wysiwyg model.

application/modules/seo/controllers/ManageController.php 1 location

@@ 410-421 (lines=12) @@
407
     * Show list of Redirect models
408
     * @return string
409
     */
410
    public function actionRedirect()
411
    {
412
        $searchModel = new Redirect(['scenario' => 'search']);
413
        $dataProvider = $searchModel->search($_GET);
414
        return $this->render(
415
            'redirect',
416
            [
417
                'dataProvider' => $dataProvider,
418
                'searchModel' => $searchModel,
419
            ]
420
        );
421
    }
422
423
    /**
424
     * Creates a new Redirect model.