We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -351,7 +351,7 @@ discard block |
||
| 351 | 351 | $toplevel = array (); |
| 352 | 352 | |
| 353 | 353 | // Take over query parameters. |
| 354 | - $params = $this->params; |
|
| 354 | + $params = $this->params; |
|
| 355 | 355 | |
| 356 | 356 | $params['filterquery'] = isset($params['filterquery']) ? $params['filterquery'] : array (); |
| 357 | 357 | |
@@ -366,7 +366,7 @@ discard block |
||
| 366 | 366 | $this->numberOfHits = $results->getNumFound(); |
| 367 | 367 | |
| 368 | 368 | // Restore query parameters |
| 369 | - $params = $this->params; |
|
| 369 | + $params = $this->params; |
|
| 370 | 370 | |
| 371 | 371 | $params['filterquery'] = isset($params['filterquery']) ? $params['filterquery'] : array (); |
| 372 | 372 | |
@@ -384,7 +384,7 @@ discard block |
||
| 384 | 384 | $params['filterquery'][] = array ('query' => 'toplevel:true'); |
| 385 | 385 | |
| 386 | 386 | // Set join query to get all documents with the same uids. |
| 387 | - $params['query'] = '{!join from=uid to=uid}'. $params['query']; |
|
| 387 | + $params['query'] = '{!join from=uid to=uid}'.$params['query']; |
|
| 388 | 388 | |
| 389 | 389 | // Perform search to determine the total number of toplevel hits and fetch the required rows. |
| 390 | 390 | $selectQuery = $this->service->createSelect($params); |
@@ -678,7 +678,7 @@ discard block |
||
| 678 | 678 | || (isset($this->piVars['asc']) && $this->piVars['asc'] != $listMetadata['options']['order.asc'])) { |
| 679 | 679 | |
| 680 | 680 | // Update list's metadata. |
| 681 | - $listMetadata['options']['params']['sort'] = array ($this->piVars['order']."_sorting" => (boolean) $this->piVars['asc']?'asc':'desc'); |
|
| 681 | + $listMetadata['options']['params']['sort'] = array ($this->piVars['order']."_sorting" => (boolean) $this->piVars['asc'] ? 'asc' : 'desc'); |
|
| 682 | 682 | |
| 683 | 683 | $listMetadata['options']['order'] = $this->piVars['order']; |
| 684 | 684 | $listMetadata['options']['order.asc'] = (boolean) $this->piVars['asc']; |
@@ -711,7 +711,7 @@ discard block |
||
| 711 | 711 | } |
| 712 | 712 | |
| 713 | 713 | // Set search parameters. |
| 714 | - $solr->cPid = $listMetadata['options']['pid']; |
|
| 714 | + $solr->cPid = $listMetadata['options']['pid']; |
|
| 715 | 715 | $solr->params = $listMetadata['options']['params']; |
| 716 | 716 | |
| 717 | 717 | // Perform search. |
@@ -790,7 +790,7 @@ discard block |
||
| 790 | 790 | |
| 791 | 791 | if ($currentEntry) { |
| 792 | 792 | |
| 793 | - $currentEntry = ($this->piVars['pointer'] * $this->conf['limit']) + 1; |
|
| 793 | + $currentEntry = ($this->piVars['pointer'] * $this->conf['limit']) + 1; |
|
| 794 | 794 | $lastEntry = ($this->piVars['pointer'] * $this->conf['limit']) + $this->conf['limit']; |
| 795 | 795 | |
| 796 | 796 | $markerArray['###COUNT###'] = htmlspecialchars(sprintf($this->pi_getLL('count'), $currentEntry, $lastEntry < $this->list->metadata['options']['numberOfToplevelHits'] ? $lastEntry : $this->list->metadata['options']['numberOfToplevelHits'], $this->list->metadata['options']['numberOfToplevelHits'])); |