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 3 locations

phpmyfaq/inc/PMF/User.php 3 locations

@@ 275-278 (lines=4) @@
272
        );
273
274
        $res = $this->config->getDb()->query($select);
275
        if ($this->config->getDb()->numRows($res) != 1) {
276
            $this->errors[] = self::ERROR_USER_NO_USERID . 'error(): ' . $this->config->getDb()->error();
277
            return false;
278
        }
279
        $user          = $this->config->getDb()->fetchArray($res);
280
        $this->userId = (int)    $user['user_id'];
281
        $this->login   = (string)$user['login'];
@@ 299-302 (lines=4) @@
296
            );
297
                
298
            $res = $this->config->getDb()->query($select);
299
            if ($this->config->getDb()->numRows($res) != 1) {
300
                $this->errors[] = self::ERROR_USER_NO_USERLOGINDATA . 'error(): ' . $this->config->getDb()->error();
301
                return false;
302
            }
303
        }
304
        // get user-data
305
        if (!$this->userdata instanceof PMF_User_UserData) {
@@ 594-597 (lines=4) @@
591
        );
592
            
593
        $res = $this->config->getDb()->query($delete);
594
        if (!$res) {
595
            $this->errors[] = self::ERROR_USER_CANNOT_DELETE_USER . 'error(): ' . $this->config->getDb()->error();
596
            return false;
597
        }
598
        
599
        if (!$this->userdata instanceof PMF_User_UserData) {
600
            $this->userdata = new PMF_User_UserData($this->config);