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 BaseObject(-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 BaseObject(-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

@@ 1224-1233 (lines=10) @@
1221
1222
		$oModuleModel = getModel('module');
1223
		$document_config = $oModuleModel->getModulePartConfig('document',$module_srl);
1224
		if($point == -1)
1225
		{
1226
			if($document_config->use_vote_down!='S') return new BaseObject(-1, 'msg_invalid_request');
1227
			$args->below_point = 0;
1228
		}
1229
		else
1230
		{
1231
			if($document_config->use_vote_up!='S') return new BaseObject(-1, 'msg_invalid_request');
1232
			$args->more_point = 0;
1233
		}
1234
1235
		$args->document_srl = $document_srl;
1236