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

@@ 258-261 (lines=4) @@
255
        // get basic data
256
        $parent = Page::findById($model->parent_id);
257
        // if parent exists and not a main page
258
        while ($parent !== null && $parent->id != 1) {
259
            $crumbs[$parent->slug] = $parent->breadcrumbs_label;
260
            $parent = $parent->parent;
261
        }
262
263
        // build array for widget
264
        $url = '';

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

@@ 412-415 (lines=4) @@
409
410
        // get basic data
411
        $parent = $selCat->parent_id > 0 ? Category::findById($selCat->parent_id) : null;
412
        while ($parent !== null) {
413
            $crumbs[$parent->slug] = $parent->breadcrumbs_label;
414
            $parent = $parent->parent;
415
        }
416
417
        // build array for widget
418
        $url = '';