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

code/model/EmailReminder_NotificationSchedule.php 1 location

@@ 487-494 (lines=8) @@
484
485
    public function sendEmailNow($recordOrEmail)
486
    {
487
        if (is_object($recordOrEmail)) {
488
            $email_field = $this->EmailField;
489
            $email = $recordOrEmail->$email_field;
490
            $record = $recordOrEmail;
491
        } else {
492
            $email = strtolower(trim($recordOrEmail));
493
            $record = Injector::inst()->get($reminder->DataObject);
494
        }
495
        if (Email::validEmailAddress($email)) {
496
            $send = true;
497
            $filter = array(

code/tasks/EmailReminder_DailyMailOut.php 1 location

@@ 97-104 (lines=8) @@
94
95
    protected function sendEmail($reminder, $recordOrEmail, $isTestOnly)
96
    {
97
        if (is_object($recordOrEmail)) {
98
            $email_field = $reminder->EmailField;
99
            $email = $recordOrEmail->$email_field;
100
            $record = $recordOrEmail;
101
        } else {
102
            $email = strtolower(trim($recordOrEmail));
103
            $record = Injector::inst()->get($reminder->DataObject);
104
        }
105
        if (Email::validEmailAddress($email)) {
106
            $send = true;
107
            $filter = array(