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

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