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-9 lines in 4 locations

application/modules/page/controllers/PageController.php 2 locations

@@ 44-52 (lines=9) @@
41
            throw new NotFoundHttpException;
42
        }
43
44
        if (!empty($model->meta_description)) {
45
            $this->view->registerMetaTag(
46
                [
47
                    'name' => 'description',
48
                    'content' => $model->meta_description,
49
                ],
50
                'meta_description'
51
            );
52
        }
53
54
        $this->view->title = $model->title;
55
        if (!empty($model->h1)) {
@@ 81-89 (lines=9) @@
78
        if (null === $model = Page::findById($id)) {
79
            throw new NotFoundHttpException;
80
        }
81
        if (!empty($model->meta_description)) {
82
            $this->view->registerMetaTag(
83
                [
84
                    'name' => 'description',
85
                    'content' => $model->meta_description,
86
                ],
87
                'meta_description'
88
            );
89
        }
90
91
        $cacheKey = 'PagesList:'.$model->id;
92

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

@@ 122-130 (lines=9) @@
119
        if (null !== $selected_category = $selected_category_id) {
120
            if ($selected_category_id > 0) {
121
                if (null !== $selected_category = Category::findById($selected_category_id, null)) {
122
                    if (!empty($selected_category->meta_description)) {
123
                        $this->view->registerMetaTag(
124
                            [
125
                                'name' => 'description',
126
                                'content' => $selected_category->meta_description,
127
                            ],
128
                            'meta_description'
129
                        );
130
                    }
131
                    $this->view->title = $selected_category->title;
132
                }
133
            }
@@ 272-280 (lines=9) @@
269
        ]);
270
        EventTriggeringHelper::triggerSpecialEvent($specialEvent);
271
272
        if (!empty($product->meta_description)) {
273
            $this->view->registerMetaTag(
274
                [
275
                    'name' => 'description',
276
                    'content' => $product->meta_description,
277
                ],
278
                'meta_description'
279
            );
280
        }
281
282
        $selected_category = ($selected_category_id > 0) ? Category::findById($selected_category_id) : null;
283