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 = 9-11 lines in 3 locations

src/Route4Me/AddressBookLocation.php 3 locations

@@ 355-363 (lines=9) @@
352
            if ($mode!='daily') {
353
                switch ($mode) {
354
                    case 'weekly':
355
                        if (isset($rows[$locationsFieldsMapping['schedule_weekdays']])) {
356
                            if ($this->validateScheduleWeekDays($rows[$locationsFieldsMapping['schedule_weekdays']])) {
357
                                 $curSchedule .= '"weekdays":['.$rows[$locationsFieldsMapping['schedule_weekdays']].']}';
358
                            } else {
359
                                array_push($results['fail'], "$iRow --> Wrong weekdays"); 
360
                            }
361
                        } else {
362
                            array_push($results['fail'], "$iRow --> The parameters sched_weekdays is not set"); 
363
                        }
364
                        break;
365
                    case 'monthly':
366
                        $monthlyMode = "";
@@ 390-398 (lines=9) @@
387
                                    }
388
                                    break;
389
                                case 'nth':
390
                                    if (isset($rows[$locationsFieldsMapping['monthly_nth_n']])) {
391
                                        if ($this->validateScheduleNthN($rows[$locationsFieldsMapping['monthly_nth_n']])) {
392
                                             $curSchedule .= '"nth":{"n":'.$rows[$locationsFieldsMapping['monthly_nth_n']].',';
393
                                        } else {
394
                                            array_push($results['fail'], "$iRow --> Wrong parameter sched_nth_n"); 
395
                                        }
396
                                    } else {
397
                                        array_push($results['fail'], "$iRow --> The parameter sched_nth_n is not set"); 
398
                                    }
399
                                    
400
                                    if ($curSchedule!="") {
401
                                        if (isset($rows[$locationsFieldsMapping['monthly_nth_wwhat']])) {
@@ 400-410 (lines=11) @@
397
                                        array_push($results['fail'], "$iRow --> The parameter sched_nth_n is not set"); 
398
                                    }
399
                                    
400
                                    if ($curSchedule!="") {
401
                                        if (isset($rows[$locationsFieldsMapping['monthly_nth_wwhat']])) {
402
                                            if ($this->validateScheduleNthWhat($rows[$locationsFieldsMapping['monthly_nth_wwhat']])) {
403
                                                 $curSchedule .= '"what":'.$rows[$locationsFieldsMapping['monthly_nth_wwhat']].'}}';
404
                                            } else {
405
                                                array_push($results['fail'], "$iRow --> Wrong parameter sched_nth_what"); 
406
                                            }
407
                                        } else {
408
                                            array_push($results['fail'], "$iRow --> The parameter sched_nth_what is not set"); 
409
                                        }
410
                                    }
411
                                    break;
412
                            }
413
                        }