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

@@ 215-232 (lines=18) @@
212
            if (is_numeric($scheduleEvery)) return TRUE; else return FALSE;
213
        }
214
        
215
        public static function validateScheduleWeekDays($scheduleWeekDays)
216
        {
217
            $weekdays = explode(',', $scheduleWeekDays);
218
            
219
            if (sizeof($weekdays)<1) return FALSE;
220
            
221
            $isValid=TRUE;
222
            
223
            for ($i=0; $i < sizeof($weekdays); $i++) { 
224
                if (is_numeric($weekdays[$i])) {
225
                    $wday=intval($weekdays[$i]);
226
                    if ($wday<1 || $wday>7) $isValid=FALSE;
227
                }
228
                else $isValid=FALSE;
229
            }
230
            //echo $scheduleWeekDays.' --- '. $isValid."<br>";
231
            return $isValid;
232
        }
233
        
234
        public static function validateScheduleMonthlyMode($scheduleMonthlyMode)
235
        {
@@ 241-258 (lines=18) @@
238
            if (in_array($scheduleMonthlyMode, $schedMonthlyMmodes)) return TRUE; else return FALSE;
239
        }
240
        
241
        public static function validateScheduleMonthlyDates($scheduleMonthlyDates)
242
        {
243
            $monthlyDates = explode(',', $scheduleMonthlyDates);
244
            
245
            if (sizeof($monthlyDates)<1) return FALSE;
246
            
247
            $isValid=TRUE;
248
            
249
            for ($i=0; $i < sizeof($monthlyDates); $i++) { 
250
                if (is_numeric($monthlyDates[$i])) {
251
                    $mday=intval($monthlyDates[$i]);
252
                    if ($mday<1 || $mday>31) $isValid=FALSE;
253
                }
254
                else $isValid=FALSE;
255
            }
256
            //echo $scheduleMonthlyDates.' --- '. $isValid."<br>";
257
            return $isValid;
258
        }
259
        
260
        public static function validateScheduleNthN($scheduleNthN)
261
        {