We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| @@ 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 | ||