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

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