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 (#259)
by Frank
02:41
created
plugins/listview/class.tx_dlf_listview.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -316,7 +316,7 @@
 block discarded – undo
316 316
      */
317 317
     private function getFieldWrap($index_name, $wrap) {
318 318
 
319
-        if(isset($this->fieldwrap[$index_name])) {
319
+        if (isset($this->fieldwrap[$index_name])) {
320 320
 
321 321
             return $this->fieldwrap[$index_name];
322 322
 
Please login to merge, or discard this patch.
common/class.tx_dlf_solr.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -412,7 +412,7 @@
 block discarded – undo
412 412
 
413 413
             } else {
414 414
 
415
-            	$toplevel[$doc->uid]['p'][$doc->id] = array (
415
+                $toplevel[$doc->uid]['p'][$doc->id] = array (
416 416
                     'u' => $doc->id,
417 417
                     'h' => (!empty($results->highlighting->{$doc->id}->fulltext) ? $results->highlighting->{$doc->id}->fulltext[0] : '')
418 418
                 );
Please login to merge, or discard this patch.
common/class.tx_dlf_list.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -296,10 +296,10 @@
 block discarded – undo
296 296
 
297 297
                         } elseif (isset($record['subparts'][$resArray->id])) {
298 298
 
299
-                        	$record['subparts'][$resArray->id] = array (
299
+                            $record['subparts'][$resArray->id] = array (
300 300
                                 'uid' => $resArray->uid,
301 301
                                 'page' => $resArray->page,
302
-                        	    'preview' => (!empty($result_highlights->highlighting->{$resArray->id}->fulltext[0])?$result_highlights->highlighting->{$resArray->id}->fulltext[0]:""),
302
+                                'preview' => (!empty($result_highlights->highlighting->{$resArray->id}->fulltext[0])?$result_highlights->highlighting->{$resArray->id}->fulltext[0]:""),
303 303
                                 'thumbnail' => $resArray->thumbnail,
304 304
                                 'metadata' => $metadata
305 305
                             );
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
 
242 242
                 if ($this->solrConnect()) {
243 243
 
244
-                    $params = array();
244
+                    $params = array ();
245 245
 
246 246
                     // Restrict the fields to the required ones
247 247
                     $params['fl'] = "uid,id,toplevel,thumbnail,page";
@@ -256,9 +256,9 @@  discard block
 block discarded – undo
256 256
                     $result = $this->solr->service->search('uid:'.tx_dlf_solr::escapeQuery($record['uid']), 0, $this->solr->limit, $params);
257 257
 
258 258
                     // If it is a fulltext search, enable highlighting and fetch the results
259
-                    if($this->metadata['fulltextSearch']) {
259
+                    if ($this->metadata['fulltextSearch']) {
260 260
 
261
-                        $params = array();
261
+                        $params = array ();
262 262
 
263 263
                         $params['hl'] = 'true';
264 264
                         $params['hl.useFastVectorHighlighter'] = 'true';
@@ -299,7 +299,7 @@  discard block
 block discarded – undo
299 299
                         	$record['subparts'][$resArray->id] = array (
300 300
                                 'uid' => $resArray->uid,
301 301
                                 'page' => $resArray->page,
302
-                        	    'preview' => (!empty($result_highlights->highlighting->{$resArray->id}->fulltext[0])?$result_highlights->highlighting->{$resArray->id}->fulltext[0]:""),
302
+                        	    'preview' => (!empty($result_highlights->highlighting->{$resArray->id}->fulltext[0]) ? $result_highlights->highlighting->{$resArray->id}->fulltext[0] : ""),
303 303
                                 'thumbnail' => $resArray->thumbnail,
304 304
                                 'metadata' => $metadata
305 305
                             );
Please login to merge, or discard this patch.