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

src/Route4Me/AddressBookLocation.php 2 locations

@@ 350-357 (lines=8) @@
347
                $curSchedule = "";
348
                $mode = "";
349
                
350
                if (isset($rows[$locationsFieldsMapping['schedule_mode']])) {
351
                    if ($this->validateScheduleMode($rows[$locationsFieldsMapping['schedule_mode']])) {
352
                        $curSchedule = '"mode":"'.$rows[$locationsFieldsMapping['schedule_mode']].'",'; 
353
                        $mode = $rows[$locationsFieldsMapping['schedule_mode']];
354
                    } else {
355
                        array_push($results['fail'],"$iRow --> Wrong schedule mode parameter"); 
356
                        $curSchedule = "";
357
                    }
358
                } else {
359
                    array_push($results['fail'],"$iRow --> The schedule mode parameter is not set"); 
360
                    $curSchedule = "";
@@ 402-409 (lines=8) @@
399
                            break;
400
                        case 'monthly':
401
                            $monthlyMode = "";
402
                            if (isset($rows[$locationsFieldsMapping['monthly_mode']])) {
403
                                if ($this->validateScheduleMonthlyMode($rows[$locationsFieldsMapping['monthly_mode']])) {
404
                                     $monthlyMode = $rows[$locationsFieldsMapping['monthly_mode']];
405
                                     $curSchedule.='"mode": "'.$rows[$locationsFieldsMapping['monthly_mode']].'",';
406
                                } else {
407
                                    array_push($results['fail'],"$iRow --> Wrong monthly mode"); 
408
                                    $curSchedule = "";
409
                                }
410
                            } else {
411
                                array_push($results['fail'],"$iRow --> The parameter sched_monthly_mode is not set"); 
412
                                $curSchedule = "";