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

phpmyfaq/inc/PMF/Category.php 2 locations

@@ 239-244 (lines=6) @@
236
        $result = $this->_config->getDb()->query($query);
237
238
        if ($result) {
239
            while ($row = $this->_config->getDb()->fetchArray($result)) {
240
                $this->categoryName[$row['id']] = $row;
241
                $this->categories[] =& $this->categoryName[$row['id']];
242
                $this->children[$row['parent_id']][$row['id']] =& $this->categoryName[$row['id']];
243
                $this->owner[$row['id']] =& $row['user_id'];
244
            }
245
        }
246
247
        return $this->categories;
@@ 1465-1471 (lines=7) @@
1462
        }
1463
        $query .= ' ORDER BY id';
1464
        $result = $this->_config->getDb()->query($query);
1465
        while ($row = $this->_config->getDb()->fetchArray($result)) {
1466
            if (!array_key_exists($row['id'], $this->categoryName)) {
1467
                $this->categoryName[$row['id']] = $row;
1468
                $this->categories[$row['id']] = &$this->categoryName[$row['id']];
1469
                $this->children[$row['parent_id']][$row['id']] = &$this->categoryName[$row['id']];
1470
            }
1471
        }
1472
    }
1473
1474
    /**