Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

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

dlf/common/class.tx_dlf_document.php 2 locations

@@ 359-377 (lines=19) @@
356
	 *
357
	 * @return	string		The file's location as URL
358
	 */
359
	public function getFileLocation($id) {
360
361
		if (!empty($id) && ($location = $this->mets->xpath('./mets:fileSec/mets:fileGrp/mets:file[@ID="'.$id.'"]/mets:FLocat[@LOCTYPE="URL"]'))) {
362
363
			return (string) $location[0]->attributes('http://www.w3.org/1999/xlink')->href;
364
365
		} else {
366
367
			if (TYPO3_DLOG) {
368
369
				\TYPO3\CMS\Core\Utility\GeneralUtility::devLog('[tx_dlf_document->getFileLocation('.$id.')] There is no file node with @ID "'.$id.'"', self::$extKey, SYSLOG_SEVERITY_WARNING);
370
371
			}
372
373
			return '';
374
375
		}
376
377
	}
378
379
	/**
380
	 * This gets the MIME type of a file representing a physical page or track
@@ 388-406 (lines=19) @@
385
	 *
386
	 * @return	string		The file's MIME type
387
	 */
388
	public function getFileMimeType($id) {
389
390
		if (!empty($id) && ($mimetype = $this->mets->xpath('./mets:fileSec/mets:fileGrp/mets:file[@ID="'.$id.'"]/@MIMETYPE'))) {
391
392
			return (string) $mimetype[0];
393
394
		} else {
395
396
			if (TYPO3_DLOG) {
397
398
				\TYPO3\CMS\Core\Utility\GeneralUtility::devLog('[tx_dlf_document->getFileMimeType('.$id.')] There is no file node with @ID "'.$id.'" or no MIME type specified', self::$extKey, SYSLOG_SEVERITY_WARNING);
399
400
			}
401
402
			return '';
403
404
		}
405
406
	}
407
408
	/**
409
	 * This is a singleton class, thus an instance must be created by this method