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/Dates.php 2 locations

@@ 492-501 (lines=10) @@
489
     * 
490
     * @return void
491
     */
492
    protected function humanDateYesterday($parsedTxt)
493
    {
494
        $currentClass    = get_called_class();
495
        $parsedTxt->date = $currentClass::$humanReadableI18n['yesterday'];
496
        $parsedTxt->time = $currentClass::$humanReadableI18n['at']
497
            .' '
498
            .$this->format(
499
                $currentClass::$humanReadableFormats['time']
500
            );
501
    }
502
    
503
    /**
504
     * Format date to human readable when date is tomorrow
@@ 510-519 (lines=10) @@
507
     * 
508
     * @return void
509
     */
510
    protected function humanDateTomorrow($parsedTxt)
511
    {
512
        $currentClass    = get_called_class();
513
        $parsedTxt->date = $currentClass::$humanReadableI18n['tomorrow'];
514
        $parsedTxt->time = $currentClass::$humanReadableI18n['at']
515
            .' '
516
            .$this->format(
517
                $currentClass::$humanReadableFormats['time']
518
            );
519
    }
520
    
521
    /**
522
     * Format date to human readable when date is not now, today or yesterday