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

@@ 248-265 (lines=18) @@
245
            return FALSE;
246
    }
247
    
248
    public static function validateScheduleWeekDays($scheduleWeekDays)
249
    {
250
        $weekdays = explode(',', $scheduleWeekDays);
251
        
252
        if (sizeof($weekdays) < 1) return FALSE;
253
        
254
        $isValid = TRUE;
255
        
256
        for ($i=0; $i < sizeof($weekdays); $i++) { 
257
            if (is_numeric($weekdays[$i])) {
258
                $wday = intval($weekdays[$i]);
259
                if ($wday < 1 || $wday > 7) $isValid = FALSE;
260
            }
261
            else $isValid = FALSE;
262
        }
263
        
264
        return $isValid;
265
    }
266
    
267
    public static function validateScheduleMonthlyMode($scheduleMonthlyMode)
268
    {
@@ 277-294 (lines=18) @@
274
            return FALSE;
275
    }
276
    
277
    public static function validateScheduleMonthlyDates($scheduleMonthlyDates)
278
    {
279
        $monthlyDates = explode(',', $scheduleMonthlyDates);
280
        
281
        if (sizeof($monthlyDates) <1) return FALSE;
282
        
283
        $isValid = TRUE;
284
        
285
        for ($i=0; $i < sizeof($monthlyDates); $i++) { 
286
            if (is_numeric($monthlyDates[$i])) {
287
                $mday = intval($monthlyDates[$i]);
288
                if ($mday <1 || $mday > 31) $isValid = FALSE;
289
            }
290
            else $isValid = FALSE;
291
        }
292
293
        return $isValid;
294
    }
295
    
296
    public static function validateScheduleNthN($scheduleNthN)
297
    {