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

src/class/Dates.php 2 locations

@@ 482-491 (lines=10) @@
479
     * 
480
     * @return void
481
     */
482
    protected function humanDateYesterday($parsedTxt)
483
    {
484
        $currentClass    = get_called_class();
485
        $parsedTxt->date = $currentClass::$humanReadableI18n['yesterday'];
486
        $parsedTxt->time = $currentClass::$humanReadableI18n['at']
487
            .' '
488
            .$this->format(
489
                $currentClass::$humanReadableFormats['time']
490
            );
491
    }
492
    
493
    /**
494
     * Format date to human readable when date is tomorrow
@@ 500-509 (lines=10) @@
497
     * 
498
     * @return void
499
     */
500
    protected function humanDateTomorrow($parsedTxt)
501
    {
502
        $currentClass    = get_called_class();
503
        $parsedTxt->date = $currentClass::$humanReadableI18n['tomorrow'];
504
        $parsedTxt->time = $currentClass::$humanReadableI18n['at']
505
            .' '
506
            .$this->format(
507
                $currentClass::$humanReadableFormats['time']
508
            );
509
    }
510
    
511
    /**
512
     * Format date to human readable when date is not now, today or yesterday