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 (#587)
by Alexander
02:50
created
class.ext_update.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
         }
117 117
         foreach ($rows as $row) {
118 118
             if ($row['format'] === 0 && $row['xpath']) {
119
-                $uids[] = (int)$row['uid'];
119
+                $uids[] = (int) $row['uid'];
120 120
             }
121 121
         }
122 122
         return $uids;
Please login to merge, or discard this patch.
Classes/Common/AbstractPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -233,7 +233,7 @@
 block discarded – undo
233 233
         if (!$cache) {
234 234
             $conf['no_cache'] = true;
235 235
         }
236
-        $conf['parameter'] = $altPageId ?: ($this->pi_tmpPageId ?: 'current');
236
+        $conf['parameter'] = $altPageId ? : ($this->pi_tmpPageId ? : 'current');
237 237
         $conf['additionalParams'] = $this->conf['parent.']['addParams'] . HttpUtility::buildQueryString($urlParameters, '&', true) . $this->pi_moreParams;
238 238
         // Add additional configuration for absolute URLs.
239 239
         $conf['forceAbsoluteUrl'] = !empty($this->conf['forceAbsoluteUrl']) ? 1 : 0;
Please login to merge, or discard this patch.
Classes/Plugin/OaiPmh.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
             ->delete('tx_dlf_tokens')
88 88
             ->where(
89 89
                 $queryBuilder->expr()->eq('tx_dlf_tokens.ident', $queryBuilder->createNamedParameter('oai')),
90
-                $queryBuilder->expr()->lt('tx_dlf_tokens.tstamp', $queryBuilder->createNamedParameter((int)($GLOBALS['EXEC_TIME'] - $this->conf['expired'])))
90
+                $queryBuilder->expr()->lt('tx_dlf_tokens.tstamp', $queryBuilder->createNamedParameter((int) ($GLOBALS['EXEC_TIME'] - $this->conf['expired'])))
91 91
             )
92 92
             ->execute();
93 93
 
@@ -953,7 +953,7 @@  discard block
 block discarded – undo
953 953
      */
954 954
     protected function generateOutputForDocumentList(DocumentList $documentListSet)
955 955
     {
956
-        $documentsToProcess = $documentListSet->removeRange(0, (int)$this->conf['limit']);
956
+        $documentsToProcess = $documentListSet->removeRange(0, (int) $this->conf['limit']);
957 957
         $verb = $this->piVars['verb'];
958 958
 
959 959
         $connection = GeneralUtility::makeInstance(ConnectionPool::class)
Please login to merge, or discard this patch.
Classes/Plugin/Eid/PageViewProxy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
         if ($fetchedData) {
71 71
             $response->getBody()->write($fetchedData);
72 72
             $response = $response->withHeader('Access-Control-Allow-Methods', 'GET');
73
-            $response = $response->withHeader('Access-Control-Allow-Origin', $request->getHeaderLine('Origin') ?: '*');
73
+            $response = $response->withHeader('Access-Control-Allow-Origin', $request->getHeaderLine('Origin') ? : '*');
74 74
             $response = $response->withHeader('Access-Control-Max-Age', '86400');
75 75
             $response = $response->withHeader('Content-Type', finfo_buffer(finfo_open(FILEINFO_MIME), $fetchedData));
76 76
         }
Please login to merge, or discard this patch.
Classes/ExpressionLanguage/DocumentTypeFunctionProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,10 +45,10 @@
 block discarded – undo
45 45
     {
46 46
         return new ExpressionFunction(
47 47
             'getDocumentType',
48
-            function () {
48
+            function() {
49 49
                 // Not implemented, we only use the evaluator
50 50
             },
51
-            function ($arguments, $cPid) {
51
+            function($arguments, $cPid) {
52 52
                 /** @var RequestWrapper $requestWrapper */
53 53
                 $requestWrapper = $arguments['request'];
54 54
                 $queryParams = $requestWrapper->getQueryParams();
Please login to merge, or discard this patch.
Classes/Common/Solr.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -335,7 +335,7 @@
 block discarded – undo
335 335
                 $config['path'] .= 'solr/';
336 336
             }
337 337
             // Set connection timeout lower than PHP's max_execution_time.
338
-            $max_execution_time = intval(ini_get('max_execution_time')) ?: 30;
338
+            $max_execution_time = intval(ini_get('max_execution_time')) ? : 30;
339 339
             $config['timeout'] = MathUtility::forceIntegerInRange($conf['solrTimeout'], 1, $max_execution_time, 10);
340 340
             $this->config = $config;
341 341
         }
Please login to merge, or discard this patch.
Classes/Common/DocumentList.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -235,7 +235,7 @@
 block discarded – undo
235 235
                     $fields = Solr::getFields();
236 236
                     $params = [];
237 237
                     // Restrict the fields to the required ones
238
-                    $params['fields'] = $fields['uid'] . ',' . $fields['id'] .',' . $fields['toplevel'] . ',' . $fields['thumbnail'] . ',' . $fields['page'];
238
+                    $params['fields'] = $fields['uid'] . ',' . $fields['id'] . ',' . $fields['toplevel'] . ',' . $fields['thumbnail'] . ',' . $fields['page'];
239 239
                     foreach ($this->solrConfig as $solr_name) {
240 240
                         $params['fields'] .= ',' . $solr_name;
241 241
                     }
Please login to merge, or discard this patch.
Classes/Plugin/Tools/SearchInDocumentTool.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
             '###LABEL_HIGHLIGHT_WORD###' => $this->conf['highlightWordInputName'],
114 114
             '###LABEL_ENCRYPTED###' => $this->conf['encryptedInputName'],
115 115
             '###CURRENT_DOCUMENT###' => $this->getCurrentDocumentId(),
116
-            '###SOLR_ENCRYPTED###' => $this->getEncryptedCoreName() ?: '',
116
+            '###SOLR_ENCRYPTED###' => $this->getEncryptedCoreName() ? : '',
117 117
         ];
118 118
 
119 119
         $content .= $this->templateService->substituteMarkerArray($this->template, $markerArray);
Please login to merge, or discard this patch.
Classes/Plugin/PageGrid.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
         $markerArray['###PAGINATION###'] = htmlspecialchars($this->doc->physicalStructureInfo[$this->doc->physicalStructure[$number]]['orderlabel']);
56 56
         // Get thumbnail or placeholder.
57 57
         $fileGrpsThumb = GeneralUtility::trimExplode(',', $this->conf['fileGrpThumbs']);
58
-        if (array_intersect($fileGrpsThumb, array_keys($this->doc->physicalStructureInfo[$this->doc->physicalStructure[$number]]['files'])) !== [] ) {
58
+        if (array_intersect($fileGrpsThumb, array_keys($this->doc->physicalStructureInfo[$this->doc->physicalStructure[$number]]['files'])) !== []) {
59 59
             while ($fileGrpThumb = array_shift($fileGrpsThumb)) {
60 60
                 if (!empty($this->doc->physicalStructureInfo[$this->doc->physicalStructure[$number]]['files'][$fileGrpThumb])) {
61 61
                     $thumbnailFile = $this->doc->getFileLocation($this->doc->physicalStructureInfo[$this->doc->physicalStructure[$number]]['files'][$fileGrpThumb]);
Please login to merge, or discard this patch.