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

@@ 236-239 (lines=4) @@
233
        // get basic data
234
        $parent = Page::findById($model->parent_id);
235
        // if parent exists and not a main page
236
        while ($parent !== null && $parent->id != 1) {
237
            $crumbs[$parent->slug] = $parent->breadcrumbs_label;
238
            $parent = $parent->parent;
239
        }
240
241
        // build array for widget
242
        $url = '';

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

@@ 431-434 (lines=4) @@
428
429
        // get basic data
430
        $parent = $selCat->parent_id > 0 ? Category::findById($selCat->parent_id) : null;
431
        while ($parent !== null) {
432
            $crumbs[$parent->slug] = $parent->breadcrumbs_label;
433
            $parent = $parent->parent;
434
        }
435
436
        // build array for widget
437
        $url = '';