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

classes/frontendfile/FrontEndFileHandler.class.php 2 locations

@@ 278-301 (lines=24) @@
275
		$this->_sortMap($map, $mapIndex);
276
277
		$result = array();
278
		foreach($map as $indexedMap)
279
		{
280
			foreach($indexedMap as $file)
281
			{
282
				$query = '';
283
				if(!$file->external && is_readable($file->cdnPath . '/' . $file->fileName))
284
				{
285
					$query = date('YmdHis', filemtime($file->cdnPath . '/' . $file->fileName));
286
				}
287
				if($file->query)
288
				{
289
					if($query) $query .= '&';
290
					$query .= $file->query;
291
				}
292
				$query = ($query) ? '?' . $query : '';
293
294
				$fullFilePath = $file->filePath . '/' . $file->fileName . $query;
295
				$result[] = array(
296
					'file' => $fullFilePath,
297
					'media' => $file->media,
298
					'targetie' => $file->targetIe
299
				);
300
			}
301
		}
302
303
		return $result;
304
	}
@@ 328-350 (lines=23) @@
325
		$this->_sortMap($map, $mapIndex);
326
327
		$result = array();
328
		foreach($map as $indexedMap)
329
		{
330
			foreach($indexedMap as $file)
331
			{
332
				$query = '';
333
				if(!$file->external && is_readable($file->cdnPath . '/' . $file->fileName))
334
				{
335
					$query = date('YmdHis', filemtime($file->cdnPath . '/' . $file->fileName));
336
				}
337
				if($file->query)
338
				{
339
					if($query) $query .= '&';
340
					$query .= $file->query;
341
				}
342
				$query = ($query) ? '?' . $query : '';
343
344
				$fullFilePath = $file->filePath . '/' . $file->fileName . $query;
345
				$result[] = array(
346
					'file' => $fullFilePath,
347
					'targetie' => $file->targetIe
348
				);
349
			}
350
		}
351
352
		return $result;
353
	}