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

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

@@ 246-249 (lines=4) @@
243
        // get basic data
244
        $parent = Page::findById($model->parent_id);
245
        // if parent exists and not a main page
246
        while ($parent !== null && $parent->id != 1) {
247
            $crumbs[$parent->slug] = $parent->breadcrumbs_label;
248
            $parent = $parent->parent;
249
        }
250
251
        // build array for widget
252
        $url = '';

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

@@ 443-446 (lines=4) @@
440
441
        // get basic data
442
        $parent = $selCat->parent_id > 0 ? Category::findById($selCat->parent_id) : null;
443
        while ($parent !== null) {
444
            $crumbs[$parent->slug] = $parent->breadcrumbs_label;
445
            $parent = $parent->parent;
446
        }
447
448
        // build array for widget
449
        $url = '';