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

@@ 244-250 (lines=7) @@
241
        // build array for widget
242
        $url = '';
243
        $crumbs = array_reverse($crumbs, true);
244
        foreach ($crumbs as $slug => $label) {
245
            $url .= '/' . $slug;
246
            $breadcrumbs[] = [
247
                'label' => (string) $label,
248
                'url' => $url
249
            ];
250
        }
251
        unset($breadcrumbs[count($breadcrumbs) - 1]['url']); // last item is not a link
252
253
        return $breadcrumbs;

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

@@ 456-462 (lines=7) @@
453
        // build array for widget
454
        $url = '';
455
        $crumbs = array_reverse($crumbs, true);
456
        foreach ($crumbs as $slug => $label) {
457
            $url .= '/' . $slug;
458
            $breadcrumbs[] = [
459
                'label' => $label,
460
                'url' => $url
461
            ];
462
        }
463
        if (is_null($product) && $this->module->showFiltersInBreadcrumbs && !empty($properties)) {
464
            $route = [
465
                '@category',