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 (#673)
by Alexander
03:13
created
Classes/Common/DocumentList.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -265,7 +265,7 @@
 block discarded – undo
265 265
 
266 266
         $query = $this->solr->service->createSelect();
267 267
         // Restrict the fields to the required ones
268
-        $query->setFields($fields['uid'] .',' . $fields['id'] .',' . $fields['toplevel'] .',' . $fields['thumbnail'] .',' . $fields['page']);
268
+        $query->setFields($fields['uid'] . ',' . $fields['id'] . ',' . $fields['toplevel'] . ',' . $fields['thumbnail'] . ',' . $fields['page']);
269 269
         foreach ($this->solrConfig as $solr_name) {
270 270
             $query->addField($solr_name);
271 271
         }
Please login to merge, or discard this patch.
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -261,7 +261,8 @@  discard block
 block discarded – undo
261 261
      *
262 262
      * @return Result
263 263
      */
264
-    private function getSolrResult($record) {
264
+    private function getSolrResult($record)
265
+    {
265 266
         $fields = Solr::getFields();
266 267
 
267 268
         $query = $this->solr->service->createSelect();
@@ -329,7 +330,8 @@  discard block
 block discarded – undo
329 330
      *
330 331
      * @return array
331 332
      */
332
-    private function getSolrRecord($record, $result) {
333
+    private function getSolrRecord($record, $result)
334
+    {
333 335
         // If it is a fulltext search, fetch the highlighting results.
334 336
         if ($this->metadata['fulltextSearch']) {
335 337
             $data = $result->getData();
Please login to merge, or discard this patch.
Classes/Plugin/Eid/SearchInDocument.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -113,7 +113,8 @@  discard block
 block discarded – undo
113 113
      *
114 114
      * @return string SOLR query
115 115
      */
116
-    private function getQuery($fields, $parameters) {
116
+    private function getQuery($fields, $parameters)
117
+    {
117 118
         return $fields['fulltext'] . ':(' . Solr::escapeQuery((string) $parameters['q']) . ') AND ' . $fields['uid'] . ':' . $this->getUid($parameters['uid']);
118 119
     }
119 120
 
@@ -127,7 +128,8 @@  discard block
 block discarded – undo
127 128
      *
128 129
      * @return int|string uid of the document
129 130
      */
130
-    private function getUid($uid) {
131
+    private function getUid($uid)
132
+    {
131 133
         return is_numeric($uid) ? intval($uid) : $uid;
132 134
     }
133 135
 }
Please login to merge, or discard this patch.