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 ( 61a64e...98ff13 )
by
unknown
03:41
created
Classes/Validation/DocumentValidator.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -29,10 +29,10 @@
 block discarded – undo
29 29
  */
30 30
 class DocumentValidator
31 31
 {
32
-     /**
33
-     * @access protected
34
-     * @var Logger This holds the logger
35
-     */
32
+        /**
33
+         * @access protected
34
+         * @var Logger This holds the logger
35
+         */
36 36
     protected Logger $logger;
37 37
 
38 38
     /**
Please login to merge, or discard this patch.
Classes/Controller/TableOfContentsController.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -347,7 +347,7 @@  discard block
 block discarded – undo
347 347
                 }
348 348
             }
349 349
         }
350
-        return $label ?: $orderLabel;
350
+        return $label ? : $orderLabel;
351 351
     }
352 352
 
353 353
     /**
@@ -382,7 +382,7 @@  discard block
 block discarded – undo
382 382
     {
383 383
         usort(
384 384
             $menu[0]['_SUB_MENU'],
385
-            function ($firstElement, $secondElement) {
385
+            function($firstElement, $secondElement) {
386 386
                 if (!empty($firstElement['orderlabel'])) {
387 387
                     return $firstElement['orderlabel'] <=> $secondElement['orderlabel'];
388 388
                 }
Please login to merge, or discard this 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/Controller/SearchController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
         }
123 123
 
124 124
         if (isset($listRequestData['searchParameter']) && is_array($listRequestData['searchParameter'])) {
125
-            $this->searchParams = array_merge($this->searchParams ?: [], $listRequestData['searchParameter']);
125
+            $this->searchParams = array_merge($this->searchParams ? : [], $listRequestData['searchParameter']);
126 126
             $listViewSearch = true;
127 127
             $GLOBALS['TSFE']->fe_user->setKey('ses', 'search', $this->searchParams);
128 128
         }
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
                 $simplePagination = new SimplePagination($solrPaginator);
191 191
 
192 192
                 $pagination = $this->buildSimplePagination($simplePagination, $solrPaginator);
193
-                $this->view->assignMultiple([ 'pagination' => $pagination, 'paginator' => $solrPaginator ]);
193
+                $this->view->assignMultiple(['pagination' => $pagination, 'paginator' => $solrPaginator]);
194 194
             }
195 195
 
196 196
             $this->view->assign('documents', !empty($solrResults) ? $solrResults : []);
Please login to merge, or discard this patch.
Classes/Common/Indexer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -354,7 +354,7 @@
 block discarded – undo
354 354
                 $solrDoc->setField('title', $metadata['title'][0]);
355 355
                 $solrDoc->setField('volume', $metadata['volume'][0]);
356 356
                 // verify date formatting
357
-                if(strtotime($metadata['date'][0])) {
357
+                if (strtotime($metadata['date'][0])) {
358 358
                     $solrDoc->setField('date', self::getFormattedDate($metadata['date'][0]));
359 359
                 }
360 360
                 $solrDoc->setField('record_id', $metadata['record_id'][0]);
Please login to merge, or discard this patch.
Classes/Common/DocumentAnnotation.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -130,11 +130,11 @@
 block discarded – undo
130 130
                             );
131 131
                         }
132 132
                     } elseif ($annotationTarget->getObjectId()) {
133
-                         $objectTargetPages = [];
133
+                            $objectTargetPages = [];
134 134
                         foreach ($this->document->getCurrentDocument()->physicalStructureInfo as $physInfo) {
135
-                             $order = $physInfo['order'];
135
+                                $order = $physInfo['order'];
136 136
                             if ($order) {
137
-                                 $objectTargetPages[] = $order;
137
+                                    $objectTargetPages[] = $order;
138 138
                             }
139 139
                         }
140 140
                         if ($objectTargetPages) {
Please login to merge, or discard this patch.
Classes/Common/AnnotationRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      */
25 25
     public function __construct($apiUrl)
26 26
     {
27
-        $this->apiUrl =  trim($apiUrl, "/ ");
27
+        $this->apiUrl = trim($apiUrl, "/ ");
28 28
     }
29 29
 
30 30
 
Please login to merge, or discard this patch.
Classes/Controller/ListViewController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
         // extract collection(s) from collection parameter
83 83
         $collections = [];
84 84
         if (is_array($this->searchParams) && array_key_exists('collection', $this->searchParams)) {
85
-            foreach(explode(',', $this->searchParams['collection']) as $collectionEntry) {
85
+            foreach (explode(',', $this->searchParams['collection']) as $collectionEntry) {
86 86
                 $collections[] = $this->collectionRepository->findByUid((int) $collectionEntry);
87 87
             }
88 88
         }
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
             $simplePagination = new SimplePagination($solrPaginator);
114 114
 
115 115
             $pagination = $this->buildSimplePagination($simplePagination, $solrPaginator);
116
-            $this->view->assignMultiple([ 'pagination' => $pagination, 'paginator' => $solrPaginator ]);
116
+            $this->view->assignMultiple(['pagination' => $pagination, 'paginator' => $solrPaginator]);
117 117
         }
118 118
 
119 119
         $this->view->assign('viewData', $this->viewData);
Please login to merge, or discard this patch.