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

modules/document/document.model.php 1 location

@@ 1231-1240 (lines=10) @@
1228
1229
		$oModuleModel = getModel('module');
1230
		$document_config = $oModuleModel->getModulePartConfig('document',$module_srl);
1231
		if($point == -1)
1232
		{
1233
			if($document_config->use_vote_down!='S') return new BaseObject(-1, 'msg_invalid_request');
1234
			$args->below_point = 0;
1235
		}
1236
		else
1237
		{
1238
			if($document_config->use_vote_up!='S') return new BaseObject(-1, 'msg_invalid_request');
1239
			$args->more_point = 0;
1240
		}
1241
1242
		$args->document_srl = $document_srl;
1243

modules/comment/comment.model.php 1 location

@@ 993-1010 (lines=18) @@
990
991
		$args = new stdClass();
992
993
		if($point == -1)
994
		{
995
			if($comment_config->use_vote_down != 'S')
996
			{
997
				return new BaseObject(-1, 'msg_invalid_request');
998
			}
999
1000
			$args->below_point = 0;
1001
		}
1002
		else
1003
		{
1004
			if($comment_config->use_vote_up != 'S')
1005
			{
1006
				return new BaseObject(-1, 'msg_invalid_request');
1007
			}
1008
1009
			$args->more_point = 0;
1010
		}
1011
1012
		$args->comment_srl = $comment_srl;
1013
		$output = executeQueryArray('comment.getVotedMemberList', $args);