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

application/modules/page/controllers/PageController.php 1 location

@@ 266-272 (lines=7) @@
263
        // build array for widget
264
        $url = '';
265
        $crumbs = array_reverse($crumbs, true);
266
        foreach ($crumbs as $slug => $label) {
267
            $url .= '/' . $slug;
268
            $breadcrumbs[] = [
269
                'label' => (string) $label,
270
                'url' => $url
271
            ];
272
        }
273
        unset($breadcrumbs[count($breadcrumbs) - 1]['url']); // last item is not a link
274
275
        return $breadcrumbs;

application/modules/shop/controllers/ProductController.php 1 location

@@ 420-426 (lines=7) @@
417
        // build array for widget
418
        $url = '';
419
        $crumbs = array_reverse($crumbs, true);
420
        foreach ($crumbs as $slug => $label) {
421
            $url .= '/' . $slug;
422
            $breadcrumbs[] = [
423
                'label' => $label,
424
                'url' => $url
425
            ];
426
        }
427
        if (is_null($product) && $this->module->showFiltersInBreadcrumbs && !empty($properties)) {
428
            $route = [
429
                '@category',