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

modules/file/file.controller.php 2 locations

@@ 346-354 (lines=9) @@
343
			fseek($fp, $start);
344
			header('HTTP/1.1 206 Partial Content');
345
			header('Content-Range: bytes '.$start.'-'.($start+$length).'/'.$file_size);
346
			if($length > 1024 * 1024)
347
			{
348
				while(!feof($fp)) echo fread($fp, 1024);
349
				fclose($fp);
350
			}
351
			else
352
			{
353
				fpassthru($fp);
354
			}
355
		}
356
		else
357
		{
@@ 356-368 (lines=13) @@
353
				fpassthru($fp);
354
			}
355
		}
356
		else
357
		{
358
			// if file size is lager than 10MB, use fread function (#18675748)
359
			if($file_size > 1024 * 1024)
360
			{
361
				while(!feof($fp)) echo fread($fp, 1024);
362
				fclose($fp);
363
			}
364
			else
365
			{
366
				fpassthru($fp);
367
			}
368
		}
369
370
		exit();
371
	}