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/comment/comment.model.php 1 location

@@ 979-996 (lines=18) @@
976
977
		$args = new stdClass();
978
979
		if($point == -1)
980
		{
981
			if($comment_config->use_vote_down != 'S')
982
			{
983
				return new Object(-1, 'msg_invalid_request');
984
			}
985
986
			$args->below_point = 0;
987
		}
988
		else
989
		{
990
			if($comment_config->use_vote_up != 'S')
991
			{
992
				return new Object(-1, 'msg_invalid_request');
993
			}
994
995
			$args->more_point = 0;
996
		}
997
998
		$args->comment_srl = $comment_srl;
999
		$output = executeQueryArray('comment.getVotedMemberList', $args);

modules/document/document.model.php 1 location

@@ 1185-1194 (lines=10) @@
1182
1183
		$oModuleModel = getModel('module');
1184
		$document_config = $oModuleModel->getModulePartConfig('document',$module_srl);
1185
		if($point == -1)
1186
		{
1187
			if($document_config->use_vote_down!='S') return new Object(-1, 'msg_invalid_request');
1188
			$args->below_point = 0;
1189
		}
1190
		else
1191
		{
1192
			if($document_config->use_vote_up!='S') return new Object(-1, 'msg_invalid_request');
1193
			$args->more_point = 0;
1194
		}
1195
1196
		$args->document_srl = $document_srl;
1197