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

modules/comment/comment.item.php 1 location

@@ 325-343 (lines=19) @@
322
		}
323
324
		// if additional information which can access contents is set
325
		if($add_content_info)
326
		{
327
			$memberSrl = $this->get('member_srl');
328
			if($memberSrl < 0)
329
			{
330
				$memberSrl = 0;
331
			}
332
			$content = sprintf(
333
					'<!--BeforeComment(%d,%d)--><div class="comment_%d_%d xe_content">%s</div><!--AfterComment(%d,%d)-->', $this->comment_srl, $memberSrl, $this->comment_srl, $memberSrl, $content, $this->comment_srl, $memberSrl
334
			);
335
			// xe_content class name should be specified although content access is not necessary.
336
		}
337
		else
338
		{
339
			if($add_xe_content_class)
340
			{
341
				$content = sprintf('<div class="xe_content">%s</div>', $content);
342
			}
343
		}
344
345
		return $content;
346
	}

modules/document/document.item.php 1 location

@@ 487-507 (lines=21) @@
484
			);
485
		}
486
		// If additional content information is set
487
		if($add_content_info)
488
		{
489
			$memberSrl = $this->get('member_srl');
490
			if($memberSrl < 0)
491
			{
492
				$memberSrl = 0;
493
			}
494
			$content = sprintf(
495
				'<!--BeforeDocument(%d,%d)--><div class="document_%d_%d xe_content">%s</div><!--AfterDocument(%d,%d)-->',
496
				$this->document_srl, $memberSrl,
497
				$this->document_srl, $memberSrl,
498
				$content,
499
				$this->document_srl, $memberSrl,
500
				$this->document_srl, $memberSrl
501
			);
502
			// Add xe_content class although accessing content is not required
503
		}
504
		else
505
		{
506
			if($add_xe_content_class) $content = sprintf('<div class="xe_content">%s</div>', $content);
507
		}
508
		// Change the image path to a valid absolute path if resource_realpath is true
509
		if($resource_realpath)
510
		{