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 = 18-18 lines in 2 locations

src/Route4Me/AddressBookLocation.php 2 locations

@@ 257-274 (lines=18) @@
254
        }
255
    }
256
    
257
    public static function validateScheduleWeekDays($scheduleWeekDays)
258
    {
259
        $weekdays = explode(',', $scheduleWeekDays);
260
        
261
        if (sizeof($weekdays)<1) return FALSE;
262
        
263
        $isValid = TRUE;
264
        
265
        for ($i=0; $i<sizeof($weekdays); $i++) { 
266
            if (is_numeric($weekdays[$i])) {
267
                $wday = intval($weekdays[$i]);
268
                if ($wday<1 || $wday>7) $isValid = FALSE;
269
            } else {
270
                $isValid = FALSE;
271
            }
272
        }
273
        
274
        return $isValid;
275
    }
276
    
277
    public static function validateScheduleMonthlyMode($scheduleMonthlyMode)
@@ 288-305 (lines=18) @@
285
        }
286
    }
287
    
288
    public static function validateScheduleMonthlyDates($scheduleMonthlyDates)
289
    {
290
        $monthlyDates = explode(',', $scheduleMonthlyDates);
291
        
292
        if (sizeof($monthlyDates) <1) return FALSE;
293
        
294
        $isValid = TRUE;
295
        
296
        for ($i=0; $i < sizeof($monthlyDates); $i++) { 
297
            if (is_numeric($monthlyDates[$i])) {
298
                $mday = intval($monthlyDates[$i]);
299
                if ($mday <1 || $mday > 31) $isValid = FALSE;
300
            } else {
301
                $isValid = FALSE;
302
            }
303
        }
304
305
        return $isValid;
306
    }
307
    
308
    public static function validateScheduleNthN($scheduleNthN)