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

@@ 254-260 (lines=7) @@
251
        // build array for widget
252
        $url = '';
253
        $crumbs = array_reverse($crumbs, true);
254
        foreach ($crumbs as $slug => $label) {
255
            $url .= '/' . $slug;
256
            $breadcrumbs[] = [
257
                'label' => (string) $label,
258
                'url' => $url
259
            ];
260
        }
261
        unset($breadcrumbs[count($breadcrumbs) - 1]['url']); // last item is not a link
262
263
        return $breadcrumbs;

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

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