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

@@ 342-350 (lines=9) @@
339
            if ($mode!='daily') {
340
                switch ($mode) {
341
                    case 'weekly':
342
                        if (isset($rows[$locationsFieldsMapping['schedule_weekdays']])) {
343
                            if ($this->validateScheduleWeekDays($rows[$locationsFieldsMapping['schedule_weekdays']])) {
344
                                 $curSchedule .= '"weekdays":['.$rows[$locationsFieldsMapping['schedule_weekdays']].']}';
345
                            } else {
346
                                array_push($results['fail'], "$iRow --> Wrong weekdays"); 
347
                            }
348
                        } else {
349
                            array_push($results['fail'], "$iRow --> The parameters sched_weekdays is not set"); 
350
                        }
351
                        break;
352
                    case 'monthly':
353
                        $monthlyMode = "";
@@ 377-385 (lines=9) @@
374
                                    }
375
                                    break;
376
                                case 'nth':
377
                                    if (isset($rows[$locationsFieldsMapping['monthly_nth_n']])) {
378
                                        if ($this->validateScheduleNthN($rows[$locationsFieldsMapping['monthly_nth_n']])) {
379
                                             $curSchedule .= '"nth":{"n":'.$rows[$locationsFieldsMapping['monthly_nth_n']].',';
380
                                        } else {
381
                                            array_push($results['fail'], "$iRow --> Wrong parameter sched_nth_n"); 
382
                                        }
383
                                    } else {
384
                                        array_push($results['fail'], "$iRow --> The parameter sched_nth_n is not set"); 
385
                                    }
386
                                    
387
                                    if ($curSchedule!="") {
388
                                        if (isset($rows[$locationsFieldsMapping['monthly_nth_wwhat']])) {
@@ 387-397 (lines=11) @@
384
                                        array_push($results['fail'], "$iRow --> The parameter sched_nth_n is not set"); 
385
                                    }
386
                                    
387
                                    if ($curSchedule!="") {
388
                                        if (isset($rows[$locationsFieldsMapping['monthly_nth_wwhat']])) {
389
                                            if ($this->validateScheduleNthWhat($rows[$locationsFieldsMapping['monthly_nth_wwhat']])) {
390
                                                 $curSchedule .= '"what":'.$rows[$locationsFieldsMapping['monthly_nth_wwhat']].'}}';
391
                                            } else {
392
                                                array_push($results['fail'], "$iRow --> Wrong parameter sched_nth_what"); 
393
                                            }
394
                                        } else {
395
                                            array_push($results['fail'], "$iRow --> The parameter sched_nth_what is not set"); 
396
                                        }
397
                                    }
398
                                    break;
399
                            }
400
                        }