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 ( af0744...7258dc )
by
unknown
05:55
created
Build/Documentation/dbdocs/RstSection.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,8 @@
 block discarded – undo
46 46
 
47 47
     public static function paragraphs(array $paragraphs)
48 48
     {
49
-        $paragraphs = array_values(array_filter($paragraphs, function ($entry) {
49
+        $paragraphs = array_values(array_filter($paragraphs, function ($entry)
50
+        {
50 51
             return !empty($entry);
51 52
         }));
52 53
 
Please login to merge, or discard this patch.
Build/Documentation/dbdocs/Generator.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -204,7 +204,8 @@  discard block
 block discarded – undo
204 204
 RST);
205 205
 
206 206
         // Sort tables alphabetically
207
-        usort($tables, function ($lhs, $rhs) {
207
+        usort($tables, function ($lhs, $rhs)
208
+        {
208 209
             return $lhs->name <=> $rhs->name;
209 210
         });
210 211
 
@@ -231,7 +232,8 @@  discard block
 block discarded – undo
231 232
                 'description' => 'Description',
232 233
             ]];
233 234
 
234
-            $rows = array_map(function ($column) use ($page) {
235
+            $rows = array_map(function ($column) use ($page)
236
+            {
235 237
                 return [
236 238
                     'field' => (
237 239
                         $page->format($column->name, ['bold' => $column->isPrimary])
Please login to merge, or discard this patch.
Tests/Functional/FunctionalTestCase.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,7 +71,8 @@  discard block
 block discarded – undo
71 71
         $this->configurationToUseInTestInstance['EXTENSIONS']['dlf'] = $this->getDlfConfiguration();
72 72
 
73 73
         if ($this->disableJsonWrappedResponse) {
74
-            $this->frameworkExtensionsToLoad = array_filter($this->frameworkExtensionsToLoad, function ($ext) {
74
+            $this->frameworkExtensionsToLoad = array_filter($this->frameworkExtensionsToLoad, function ($ext)
75
+            {
75 76
                 return $ext !== 'Resources/Core/Functional/Extensions/json_response';
76 77
             });
77 78
         }
@@ -152,7 +153,8 @@  discard block
 block discarded – undo
152 153
         $jsonDocuments = json_decode(file_get_contents($path), true);
153 154
 
154 155
         $updateQuery = $solr->service->createUpdate();
155
-        $documents = array_map(function ($jsonDoc) use ($updateQuery) {
156
+        $documents = array_map(function ($jsonDoc) use ($updateQuery)
157
+        {
156 158
             $document = $updateQuery->createDocument();
157 159
             foreach ($jsonDoc as $key => $value) {
158 160
                 $document->setField($key, $value);
Please login to merge, or discard this patch.
Classes/Common/Solr/SolrSearch.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -776,7 +776,8 @@
 block discarded – undo
776 776
      *
777 777
      * @return array The Apache Solr Documents that were fetched
778 778
      */
779
-    private function getDocument(Document $record, array $highlighting, array $fields, $parameters) {
779
+    private function getDocument(Document $record, array $highlighting, array $fields, $parameters)
780
+    {
780 781
         $resultDocument = new ResultDocument($record, $highlighting, $fields);
781 782
 
782 783
         $document = [
Please login to merge, or discard this patch.
Classes/Controller/MetadataController.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -173,7 +173,8 @@
 block discarded – undo
173 173
                     $this->parseMetadata($i, $name, $value, $metadata);
174 174
 
175 175
                     if (is_array($metadata[$i][$name])) {
176
-                        $metadata[$i][$name] = array_values(array_filter($metadata[$i][$name], function ($metadataValue) {
176
+                        $metadata[$i][$name] = array_values(array_filter($metadata[$i][$name], function ($metadataValue)
177
+                        {
177 178
                             return !empty($metadataValue);
178 179
                         }));
179 180
                     }
Please login to merge, or discard this patch.
Classes/Common/MetsDocument.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -736,7 +736,8 @@
 block discarded – undo
736 736
 
737 737
         return array_filter(
738 738
             $allMdIds,
739
-            function ($element) {
739
+            function ($element)
740
+            {
740 741
                 return !empty($element);
741 742
             }
742 743
         );
Please login to merge, or discard this patch.
Classes/Controller/AbstractController.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -351,7 +351,8 @@  discard block
 block discarded – undo
351 351
         $lastStartRecordNumberGrid = 0; // due to validity outside the loop
352 352
         foreach (range($firstPage, $lastPage) as $i) {
353 353
             // detect which pagination is active: ListView or GridView
354
-            if (get_class($pagination) == 'TYPO3\CMS\Core\Pagination\SimplePagination') {  // ListView
354
+            if (get_class($pagination) == 'TYPO3\CMS\Core\Pagination\SimplePagination') {
355
+// ListView
355 356
                 $lastStartRecordNumberGrid = $i; // save last $startRecordNumber for LastPage button
356 357
 
357 358
                 $pages[$i] = [
@@ -364,7 +365,8 @@  discard block
 block discarded – undo
364 365
                 if (in_array($i, $aRange)) {
365 366
                     array_push($pagesSect, ['label' => $i, 'startRecordNumber' => $i]);
366 367
                 };
367
-            } else { // GridView
368
+            } else {
369
+// GridView
368 370
                 // to calculate the values for generation the links for the pagination pages
369 371
                 /** @var \Kitodo\Dlf\Pagination\PageGridPaginator $paginator */
370 372
                 $itemsPerPage = $paginator->getPublicItemsPerPage();
Please login to merge, or discard this patch.
Classes/Controller/TableOfContentsController.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -382,7 +382,8 @@
 block discarded – undo
382 382
     {
383 383
         usort(
384 384
             $menu[0]['_SUB_MENU'],
385
-            function ($firstElement, $secondElement) {
385
+            function ($firstElement, $secondElement)
386
+            {
386 387
                 if (!empty($firstElement['orderlabel'])) {
387 388
                     return $firstElement['orderlabel'] <=> $secondElement['orderlabel'];
388 389
                 }
Please login to merge, or discard this patch.
Classes/Common/Helper.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -433,7 +433,8 @@  discard block
 block discarded – undo
433 433
             return '';
434 434
         }
435 435
 
436
-        $makeCacheKey = function ($pid, $uid) {
436
+        $makeCacheKey = function ($pid, $uid)
437
+        {
437 438
             return $pid . '.' . $uid;
438 439
         };
439 440
 
@@ -963,7 +964,8 @@  discard block
 block discarded – undo
963 964
         $mimeTypeCollection = GeneralUtility::makeInstance(MimeTypeCollection::class);
964 965
         $mimeTypes = array_filter(
965 966
             $mimeTypeCollection->getMimeTypes(),
966
-            function ($mimeType) use ($categories) {
967
+            function ($mimeType) use ($categories)
968
+            {
967 969
                 foreach ($categories as $category) {
968 970
                     if (strpos($mimeType, $category . '/') === 0) {
969 971
                         return true;
Please login to merge, or discard this patch.