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

@@ 273-276 (lines=4) @@
270
             (int) $userId);
271
             
272
        $res = $this->config->getDb()->query($select);
273
        if ($this->config->getDb()->numRows($res) != 1) {
274
            $this->errors[] = self::ERROR_USER_NO_USERID . 'error(): ' . $this->config->getDb()->error();
275
            return false;
276
        }
277
        $user          = $this->config->getDb()->fetchArray($res);
278
        $this->userId = (int)    $user['user_id'];
279
        $this->login   = (string)$user['login'];
@@ 297-300 (lines=4) @@
294
            );
295
                
296
            $res = $this->config->getDb()->query($select);
297
            if ($this->config->getDb()->numRows($res) != 1) {
298
                $this->errors[] = self::ERROR_USER_NO_USERLOGINDATA . 'error(): ' . $this->config->getDb()->error();
299
                return false;
300
            }
301
        }
302
        // get user-data
303
        if (!$this->userdata instanceof PMF_User_UserData) {
@@ 553-556 (lines=4) @@
550
        );
551
            
552
        $res = $this->config->getDb()->query($delete);
553
        if (!$res) {
554
            $this->errors[] = self::ERROR_USER_CANNOT_DELETE_USER . 'error(): ' . $this->config->getDb()->error();
555
            return false;
556
        }
557
        
558
        if (!$this->userdata instanceof PMF_User_UserData) {
559
            $this->userdata = new PMF_User_UserData($this->config);