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

modules/importer/importer.admin.controller.php 1 location

@@ 1073-1077 (lines=5) @@
1070
						$filename  = $path.$_filename;
1071
1072
						$idx = 1;
1073
						while(file_exists($filename))
1074
						{
1075
							$filename = $path.preg_replace('/\.([a-z0-9]+)$/i','_'.$idx.'.$1', $_filename);
1076
							$idx++;
1077
						}
1078
1079
						$file_obj->direct_download = 'Y';
1080
					}

modules/file/file.controller.php 1 location

@@ 725-729 (lines=5) @@
722
			$_filename = $random->createSecureSalt(32, 'hex').'.'.$ext;
723
			$filename  = $path.$_filename;
724
			$idx = 1;
725
			while(file_exists($filename))
726
			{
727
				$filename = $path.preg_replace('/\.([a-z0-9]+)$/i','_'.$idx.'.$1',$_filename);
728
				$idx++;
729
			}
730
			$direct_download = 'Y';
731
		}
732
		else