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
Pull Request — master (#835)
by
unknown
03:54
created
Classes/Common/Helper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -393,7 +393,7 @@  discard block
 block discarded – undo
393 393
         $uid = max(intval($uid), 0);
394 394
         if (
395 395
             !$uid
396
-            || !in_array($table, ['tx_dlf_collections', 'tx_dlf_libraries', 'tx_dlf_metadata', 'tx_dlf_metadatasubentries','tx_dlf_structures', 'tx_dlf_solrcores'])
396
+            || !in_array($table, ['tx_dlf_collections', 'tx_dlf_libraries', 'tx_dlf_metadata', 'tx_dlf_metadatasubentries', 'tx_dlf_structures', 'tx_dlf_solrcores'])
397 397
         ) {
398 398
             self::log('Invalid UID "' . $uid . '" or table "' . $table . '"', LOG_SEVERITY_ERROR);
399 399
             return '';
@@ -915,7 +915,7 @@  discard block
 block discarded – undo
915 915
             self::log('Could not fetch data from URL "' . $url . '". Error: ' . $e->getMessage() . '.', LOG_SEVERITY_WARNING);
916 916
             return false;
917 917
         }
918
-        $content  = $response->getBody()->getContents();
918
+        $content = $response->getBody()->getContents();
919 919
 
920 920
         return $content;
921 921
     }
Please login to merge, or discard this patch.
Classes/Common/MetsDocument.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -616,11 +616,11 @@  discard block
 block discarded – undo
616 616
                         if ($subentries = $this->getSubentries($allSubentries, $resArray['index_name'], $value)) {
617 617
                             $metadata[$resArray['index_name']][] = $subentries;
618 618
                         } else {
619
-                            $metadata[$resArray['index_name']][] = trim((string)$value->nodeValue);
619
+                            $metadata[$resArray['index_name']][] = trim((string) $value->nodeValue);
620 620
                         }
621 621
                     }
622 622
                 } elseif (!($values instanceof \DOMNodeList)) {
623
-                    $metadata[$resArray['index_name']] = [trim((string)$values->nodeValue)];
623
+                    $metadata[$resArray['index_name']] = [trim((string) $values->nodeValue)];
624 624
                 }
625 625
             }
626 626
             // Set default value if applicable.
@@ -644,9 +644,9 @@  discard block
 block discarded – undo
644 644
                         $values instanceof \DOMNodeList
645 645
                         && $values->length > 0
646 646
                     ) {
647
-                        $metadata[$resArray['index_name'] . '_sorting'][0] = trim((string)$values->item(0)->nodeValue);
647
+                        $metadata[$resArray['index_name'] . '_sorting'][0] = trim((string) $values->item(0)->nodeValue);
648 648
                     } elseif (!($values instanceof \DOMNodeList)) {
649
-                        $metadata[$resArray['index_name'] . '_sorting'][0] = trim((string)$values);
649
+                        $metadata[$resArray['index_name'] . '_sorting'][0] = trim((string) $values);
650 650
                     }
651 651
                 }
652 652
                 if (empty($metadata[$resArray['index_name'] . '_sorting'][0])) {
@@ -685,10 +685,10 @@  discard block
 block discarded – undo
685 685
                     ) {
686 686
                         $theseSubentries[$subentry['index_name']] = [];
687 687
                         foreach ($values as $value) {
688
-                            $theseSubentries[$subentry['index_name']][] = trim((string)$value->nodeValue);
688
+                            $theseSubentries[$subentry['index_name']][] = trim((string) $value->nodeValue);
689 689
                         }
690 690
                     } elseif (!($values instanceof \DOMNodeList)) {
691
-                        $theseSubentries[$subentry['index_name']] = [trim((string)$values->nodeValue)];
691
+                        $theseSubentries[$subentry['index_name']] = [trim((string) $values->nodeValue)];
692 692
                     }
693 693
                 }
694 694
                 // Set default value if applicable.
Please login to merge, or discard this patch.