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

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