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

widgets/content/content.class.php 1 location

@@ 261-267 (lines=7) @@
258
		$first_thumbnail_idx = -1;
259
		if(count($output->data))
260
		{
261
			foreach($output->data as $key => $attribute)
262
			{
263
				$oDocument = new documentItem();
264
				$oDocument->setAttribute($attribute, false);
265
				$GLOBALS['XE_DOCUMENT_LIST'][$oDocument->document_srl] = $oDocument;
266
				$document_srls[] = $oDocument->document_srl;
267
			}
268
			$oDocumentModel->setToAllDocumentExtraVars();
269
270
			for($i=0,$c=count($document_srls);$i<$c;$i++)

widgets/mcontent/mcontent.class.php 1 location

@@ 236-242 (lines=7) @@
233
		$first_thumbnail_idx = -1;
234
		if(count($output->data))
235
		{
236
			foreach($output->data as $key => $attribute)
237
			{
238
				$oDocument = new documentItem();
239
				$oDocument->setAttribute($attribute, false);
240
				$GLOBALS['XE_DOCUMENT_LIST'][$oDocument->document_srl] = $oDocument;
241
				$document_srls[] = $oDocument->document_srl;
242
			}
243
			$oDocumentModel->setToAllDocumentExtraVars();
244
245
			for($i=0,$c=count($document_srls);$i<$c;$i++)