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

@@ 370-377 (lines=8) @@
367
                $curSchedule = "";
368
                $mode = "";
369
                
370
                if (isset($rows[$locationsFieldsMapping['schedule_mode']])) {
371
                    if ($this->validateScheduleMode($rows[$locationsFieldsMapping['schedule_mode']])) {
372
                        $curSchedule = '"mode":"'.$rows[$locationsFieldsMapping['schedule_mode']].'",'; 
373
                        $mode = $rows[$locationsFieldsMapping['schedule_mode']];
374
                    } else {
375
                        array_push($results['fail'], "$iRow --> Wrong schedule mode parameter"); 
376
                        $curSchedule = "";
377
                    }
378
                } else {
379
                    array_push($results['fail'], "$iRow --> The schedule mode parameter is not set"); 
380
                    $curSchedule = "";
@@ 422-429 (lines=8) @@
419
                            break;
420
                        case 'monthly':
421
                            $monthlyMode = "";
422
                            if (isset($rows[$locationsFieldsMapping['monthly_mode']])) {
423
                                if ($this->validateScheduleMonthlyMode($rows[$locationsFieldsMapping['monthly_mode']])) {
424
                                     $monthlyMode = $rows[$locationsFieldsMapping['monthly_mode']];
425
                                     $curSchedule .= '"mode": "'.$rows[$locationsFieldsMapping['monthly_mode']].'",';
426
                                } else {
427
                                    array_push($results['fail'], "$iRow --> Wrong monthly mode"); 
428
                                    $curSchedule = "";
429
                                }
430
                            } else {
431
                                array_push($results['fail'], "$iRow --> The parameter sched_monthly_mode is not set"); 
432
                                $curSchedule = "";