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 (#624)
by Alexander
08:38
created
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/Common/Solr.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -247,7 +247,8 @@
 block discarded – undo
247 247
      *
248 248
      * @return array fields
249 249
      */
250
-    public static function getFields() {
250
+    public static function getFields()
251
+    {
251 252
         $conf = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf'][self::$extKey]);
252 253
 
253 254
         $fields = [];
Please login to merge, or discard this patch.
Classes/Plugin/Search.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -462,12 +462,12 @@
 block discarded – undo
462 462
                 ) {
463 463
                     // Search in document and all subordinates (valid for up to three levels of hierarchy).
464 464
                     $params['filterquery'][]['query'] = '_query_:"{!join from='
465
-                        . $fields['uid'] .' to=' . $fields['partof'] .'}'
466
-                        . $fields['uid'] .':{!join from=' . $fields['uid'] .' to=' . $fields['partof'] .'}'
467
-                        . $fields['uid'] .':' . $this->piVars['id'] . '"' . ' OR {!join from='
468
-                        . $fields['uid'] .' to=' . $fields['partof'] .'}'
469
-                        . $fields['uid'] .':' . $this->piVars['id'] . ' OR '
470
-                        . $fields['uid'] .':' . $this->piVars['id'];
465
+                        . $fields['uid'] . ' to=' . $fields['partof'] . '}'
466
+                        . $fields['uid'] . ':{!join from=' . $fields['uid'] . ' to=' . $fields['partof'] . '}'
467
+                        . $fields['uid'] . ':' . $this->piVars['id'] . '"' . ' OR {!join from='
468
+                        . $fields['uid'] . ' to=' . $fields['partof'] . '}'
469
+                        . $fields['uid'] . ':' . $this->piVars['id'] . ' OR '
470
+                        . $fields['uid'] . ':' . $this->piVars['id'];
471 471
                     $label .= htmlspecialchars(sprintf($this->pi_getLL('in', ''), Document::getTitle($this->piVars['id'])));
472 472
                 }
473 473
             }
Please login to merge, or discard this patch.
Classes/Plugin/Eid/SearchInDocument.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
         if ($solr->ready) {
59 59
             $query = $solr->service->createSelect();
60 60
             $query->setFields([$fields['id'], $fields['uid'], $fields['page']]);
61
-            $query->setQuery($fields['fulltext'] . ':(' . Solr::escapeQuery((string) $parameters['q']) . ') AND ' . $fields['uid'] .':' . intval($parameters['uid']));
61
+            $query->setQuery($fields['fulltext'] . ':(' . Solr::escapeQuery((string) $parameters['q']) . ') AND ' . $fields['uid'] . ':' . intval($parameters['uid']));
62 62
             $query->setStart($count)->setRows(20);
63 63
             $hl = $query->getHighlighting();
64 64
             $hl->setFields([$fields['fulltext']]);
Please login to merge, or discard this patch.