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

@@ 320-329 (lines=10) @@
317
            
318
            $failCount = sizeof($results['fail']); 
319
            
320
            if (isset($rows[$locationsFieldsMapping['schedule_mode']])) {
321
                if ($this->validateScheduleMode($rows[$locationsFieldsMapping['schedule_mode']])) {
322
                    $curSchedule = '"mode":"'.$rows[$locationsFieldsMapping['schedule_mode']].'",'; 
323
                    $mode = $rows[$locationsFieldsMapping['schedule_mode']];
324
                } else {
325
                    array_push($results['fail'], "$iRow --> Wrong schedule mode parameter"); 
326
                }
327
            } else {
328
                array_push($results['fail'], "$iRow --> The schedule mode parameter is not set"); 
329
            }
330
            
331
            if (isset($rows[$locationsFieldsMapping['schedule_enabled']])) {
332
                if ($this->validateScheduleEnable($rows[$locationsFieldsMapping['schedule_enabled']])) { 
@@ 366-375 (lines=10) @@
363
                        break;
364
                    case 'monthly':
365
                        $monthlyMode = "";
366
                        if (isset($rows[$locationsFieldsMapping['monthly_mode']])) {
367
                            if ($this->validateScheduleMonthlyMode($rows[$locationsFieldsMapping['monthly_mode']])) {
368
                                 $monthlyMode = $rows[$locationsFieldsMapping['monthly_mode']];
369
                                 $curSchedule .= '"mode": "'.$rows[$locationsFieldsMapping['monthly_mode']].'",';
370
                            } else {
371
                                array_push($results['fail'], "$iRow --> Wrong monthly mode"); 
372
                            }
373
                        } else {
374
                            array_push($results['fail'], "$iRow --> The parameter sched_monthly_mode is not set"); 
375
                        }
376
                        
377
                        if ($monthlyMode!="") {
378
                            switch ($monthlyMode) {