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

@@ 196-213 (lines=18) @@
193
        }
194
    }
195
    
196
    public static function validateScheduleWeekDays($scheduleWeekDays)
197
    {
198
        $weekdays = explode(',', $scheduleWeekDays);
199
        
200
        if (sizeof($weekdays)<1) return FALSE;
201
        
202
        $isValid = TRUE;
203
        
204
        for ($i=0; $i<sizeof($weekdays); $i++) { 
205
            if (is_numeric($weekdays[$i])) {
206
                $wday = intval($weekdays[$i]);
207
                if ($wday<1 || $wday>7) $isValid = FALSE;
208
            } else {
209
                $isValid = FALSE;
210
            }
211
        }
212
        
213
        return $isValid;
214
    }
215
    
216
    public static function validateScheduleMonthlyMode($scheduleMonthlyMode)
@@ 227-244 (lines=18) @@
224
        }
225
    }
226
    
227
    public static function validateScheduleMonthlyDates($scheduleMonthlyDates)
228
    {
229
        $monthlyDates = explode(',', $scheduleMonthlyDates);
230
        
231
        if (sizeof($monthlyDates) <1) return FALSE;
232
        
233
        $isValid = TRUE;
234
        
235
        for ($i=0; $i < sizeof($monthlyDates); $i++) { 
236
            if (is_numeric($monthlyDates[$i])) {
237
                $mday = intval($monthlyDates[$i]);
238
                if ($mday <1 || $mday > 31) $isValid = FALSE;
239
            } else {
240
                $isValid = FALSE;
241
            }
242
        }
243
244
        return $isValid;
245
    }
246
    
247
    public static function validateScheduleNthN($scheduleNthN)