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

dlf/common/class.tx_dlf_document.php 2 locations

@@ 2007-2016 (lines=10) @@
2004
				$this->physicalStructureInfo[$physSeq[0]]['contentIds'] = (isset($physNode[0]['CONTENTIDS']) ? (string) $physNode[0]['CONTENTIDS'] : '');
2005
2006
				// Get the file representations from fileSec node.
2007
				foreach ($physNode[0]->children('http://www.loc.gov/METS/')->fptr as $fptr) {
2008
2009
					// Check if file has valid @USE attribute.
2010
					if (!empty($fileUse[(string) $fptr->attributes()->FILEID])) {
2011
2012
						$this->physicalStructureInfo[$physSeq[0]]['files'][$fileUse[(string) $fptr->attributes()->FILEID]] = (string) $fptr->attributes()->FILEID;
2013
2014
					}
2015
2016
				}
2017
2018
				// Build the physical elements' array from the physical structMap node.
2019
				foreach ($elementNodes as $elementNode) {
@@ 2036-2045 (lines=10) @@
2033
					$this->physicalStructureInfo[$elements[(int) $elementNode['ORDER']]]['contentIds'] = (isset($elementNode['CONTENTIDS']) ? (string) $elementNode['CONTENTIDS'] : '');
2034
2035
					// Get the file representations from fileSec node.
2036
					foreach ($elementNode->children('http://www.loc.gov/METS/')->fptr as $fptr) {
2037
2038
						// Check if file has valid @USE attribute.
2039
						if (!empty($fileUse[(string) $fptr->attributes()->FILEID])) {
2040
2041
							$this->physicalStructureInfo[$elements[(int) $elementNode['ORDER']]]['files'][$fileUse[(string) $fptr->attributes()->FILEID]] = (string) $fptr->attributes()->FILEID;
2042
2043
						}
2044
2045
					}
2046
2047
				}
2048