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

@@ 308-317 (lines=10) @@
305
            
306
            $failCount = sizeof($results['fail']); 
307
            
308
            if (isset($rows[$locationsFieldsMapping['schedule_mode']])) {
309
                if ($this->validateScheduleMode($rows[$locationsFieldsMapping['schedule_mode']])) {
310
                    $curSchedule = '"mode":"'.$rows[$locationsFieldsMapping['schedule_mode']].'",'; 
311
                    $mode = $rows[$locationsFieldsMapping['schedule_mode']];
312
                } else {
313
                    array_push($results['fail'], "$iRow --> Wrong schedule mode parameter"); 
314
                }
315
            } else {
316
                array_push($results['fail'], "$iRow --> The schedule mode parameter is not set"); 
317
            }
318
            
319
            if (isset($rows[$locationsFieldsMapping['schedule_enabled']])) {
320
                if ($this->validateScheduleEnable($rows[$locationsFieldsMapping['schedule_enabled']])) { 
@@ 354-363 (lines=10) @@
351
                        break;
352
                    case 'monthly':
353
                        $monthlyMode = "";
354
                        if (isset($rows[$locationsFieldsMapping['monthly_mode']])) {
355
                            if ($this->validateScheduleMonthlyMode($rows[$locationsFieldsMapping['monthly_mode']])) {
356
                                 $monthlyMode = $rows[$locationsFieldsMapping['monthly_mode']];
357
                                 $curSchedule .= '"mode": "'.$rows[$locationsFieldsMapping['monthly_mode']].'",';
358
                            } else {
359
                                array_push($results['fail'], "$iRow --> Wrong monthly mode"); 
360
                            }
361
                        } else {
362
                            array_push($results['fail'], "$iRow --> The parameter sched_monthly_mode is not set"); 
363
                        }
364
                        
365
                        if ($monthlyMode!="") {
366
                            switch ($monthlyMode) {