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

modules/importer/ttimport.class.php 1 location

@@ 258-277 (lines=20) @@
255
			// Document
256
			$output = executeQuery('document.insertDocument', $obj);
257
258
			if($output->toBool())
259
			{
260
				// Tags
261
				if($obj->tags)
262
				{
263
					$tag_list = explode(',',$obj->tags);
264
					$tag_count = count($tag_list);
265
					for($i=0;$i<$tag_count;$i++)
266
					{
267
						$args = new stdClass;
268
						$args->tag_srl = getNextSequence();
269
						$args->module_srl = $module_srl;
270
						$args->document_srl = $obj->document_srl;
271
						$args->tag = trim($tag_list[$i]);
272
						$args->regdate = $obj->regdate;
273
						if(!$args->tag) continue;
274
						$output = executeQuery('tag.insertTag', $args);
275
					}
276
				}
277
			}
278
279
			fclose($fp);
280
			FileHandler::removeFile($target_file);

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

@@ 810-826 (lines=17) @@
807
808
			$output = executeQuery('document.insertDocument', $obj);
809
810
			if($output->toBool() && $obj->tags)
811
			{
812
				$tag_list = explode(',',$obj->tags);
813
				$tag_count = count($tag_list);
814
				for($i=0;$i<$tag_count;$i++)
815
				{
816
					$args = new stdClass;
817
					$args->tag_srl = getNextSequence();
818
					$args->module_srl = $module_srl;
819
					$args->document_srl = $obj->document_srl;
820
					$args->tag = trim($tag_list[$i]);
821
					$args->regdate = $obj->regdate;
822
					if(!$args->tag) continue;
823
					$output = executeQuery('tag.insertTag', $args);
824
				}
825
826
			}
827
			// Add extra variables
828
			if(count($extra_vars))
829
			{