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.
Passed
Push — master ( 4051e5...c4d457 )
by
unknown
11:45 queued 07:29
created
Classes/Common/MetsDocument.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -291,8 +291,8 @@  discard block
 block discarded – undo
291 291
         $mets = $this->mets
292 292
             ->xpath(
293 293
                 './mets:structMap[@TYPE="PHYSICAL"]' .
294
-                '//mets:div[@ID="' .  $pageId .  '"]' .
295
-                '/mets:fptr[@FILEID="' .  $fileId .  '"]' .
294
+                '//mets:div[@ID="' . $pageId . '"]' .
295
+                '/mets:fptr[@FILEID="' . $fileId . '"]' .
296 296
                 '/mets:area/@BEGIN'
297 297
             );
298 298
         return empty($mets) ? '' : $mets[0]->__toString();
@@ -546,7 +546,7 @@  discard block
 block discarded – undo
546 546
         $cPid = max($cPid, 0);
547 547
         if ($cPid == 0 && ($this->cPid || $this->pid)) {
548 548
             // Retain current PID.
549
-            $cPid = $this->cPid ?: $this->pid;
549
+            $cPid = $this->cPid ? : $this->pid;
550 550
         }
551 551
         return $cPid;
552 552
     }
@@ -1107,7 +1107,7 @@  discard block
 block discarded – undo
1107 1107
 
1108 1108
         return array_filter(
1109 1109
             $allMdIds,
1110
-            function ($element) {
1110
+            function($element) {
1111 1111
                 return !empty($element);
1112 1112
             }
1113 1113
         );
@@ -1513,7 +1513,7 @@  discard block
 block discarded – undo
1513 1513
             // Get track info wtih begin end extent time for later assignment with musical
1514 1514
             if ((string) $elementNode['TYPE'] === 'track') {
1515 1515
                 foreach ($elementNode->children('http://www.loc.gov/METS/')->fptr as $fptr) {
1516
-                    if (isset($fptr->area) &&  ((string) $fptr->area->attributes()->BETYPE === 'TIME')) {
1516
+                    if (isset($fptr->area) && ((string) $fptr->area->attributes()->BETYPE === 'TIME')) {
1517 1517
                         // Check if file has valid @USE attribute.
1518 1518
                         if (!empty($fileUse[(string) $fptr->area->attributes()->FILEID])) {
1519 1519
                             $this->physicalStructureInfo[$elements[(int) $elementNode['ORDER']]]['tracks'][$fileUse[(string) $fptr->area->attributes()->FILEID]] = [
@@ -1567,7 +1567,7 @@  discard block
 block discarded – undo
1567 1567
             || $forceReload
1568 1568
         ) {
1569 1569
             // Retain current PID.
1570
-            $cPid = $this->cPid ?: $this->pid;
1570
+            $cPid = $this->cPid ? : $this->pid;
1571 1571
             if (!$cPid) {
1572 1572
                 $this->logger->error('Invalid PID ' . $cPid . ' for structure definitions');
1573 1573
                 $this->thumbnailLoaded = true;
Please login to merge, or discard this patch.