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

app/models/Login.php 1 location

@@ 555-562 (lines=8) @@
552
            $this->resetEmailVerificationToken($userId, false);
553
            return false;
554
555
        }else{
556
557
            // reset token if invalid,
558
            // But, if the user id was invalid, this won't make any affect on database
559
            $this->resetEmailVerificationToken($userId, false);
560
            Logger::log("EMAIL TOKEN", "User ID ". $userId . " is trying to access using invalid email token " . $emailToken, __FILE__, __LINE__);
561
            return false;
562
        }
563
    }
564
565
    /**

app/models/User.php 1 location

@@ 195-200 (lines=6) @@
192
            throw new Exception("Couldn't revoke email updates");
193
        }
194
195
        if ($users === 1){
196
            return true;
197
        }else{
198
            Logger::log("REVOKE EMAIL", "User ID ". $userId . " is trying to revoke email using wrong token " . $emailToken, __FILE__, __LINE__);
199
            return false;
200
        }
201
    }
202
203
    /**