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

application/modules/shop/models/Category.php 2 locations

@@ 391-395 (lines=5) @@
388
            $this->parentIds = [];
389
390
            $parent_category = $this->parent_id > 0 ? $this->parent : 0;
391
            while ($parent_category !== null) {
392
                $this->parentIds[] = intval($parent_category->id);
393
                $slugs[] = $parent_category->slug;
394
                $parent_category = $parent_category->parent;
395
            }
396
            if ($include_parent_category === false) {
397
                array_pop($slugs);
398
            }
@@ 412-415 (lines=4) @@
409
        if ($this->parentIds === null) {
410
            $this->parentIds = [];
411
            $parent_category = $this->parent_id > 0 ? $this->parent : null;
412
            while ($parent_category !== null) {
413
                $this->parentIds[] = intval($parent_category->id);
414
                $parent_category = $parent_category->parent;
415
            }
416
        }
417
        return $this->parentIds;
418
    }