We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -157,7 +157,7 @@ |
||
157 | 157 | protected function indexLoop() { |
158 | 158 | |
159 | 159 | // Get document from list. |
160 | - list ($uid, ) = $this->list->remove(0); |
|
160 | + list ($uid,) = $this->list->remove(0); |
|
161 | 161 | |
162 | 162 | $this->list->save(); |
163 | 163 |
@@ -223,7 +223,7 @@ |
||
223 | 223 | |
224 | 224 | $record['metadata'] = $metadata; |
225 | 225 | |
226 | - } elseif (($key = array_search(array('u' => $resArray['uid']), $record['subparts'], TRUE)) !== FALSE) { |
|
226 | + } elseif (($key = array_search(array ('u' => $resArray['uid']), $record['subparts'], TRUE)) !== FALSE) { |
|
227 | 227 | |
228 | 228 | $record['subparts'][$key] = array ( |
229 | 229 | 'uid' => $resArray['uid'], |
@@ -259,7 +259,7 @@ |
||
259 | 259 | 'highlighting' => array ( |
260 | 260 | 'query' => tx_dlf_solr::escapeQuery($this->metadata['searchString']), |
261 | 261 | 'field' => 'fulltext', |
262 | - 'usefastvectorhighlighter' => true |
|
262 | + 'usefastvectorhighlighter' => TRUE |
|
263 | 263 | ) |
264 | 264 | ); |
265 | 265 |
@@ -1022,7 +1022,7 @@ |
||
1022 | 1022 | |
1023 | 1023 | if (TYPO3_DLOG) { |
1024 | 1024 | |
1025 | - \TYPO3\CMS\Core\Utility\GeneralUtility::devLog('[tx_dlf_document->getRawText('.$id.')] Invalid structure node @ID "'.$id.'"'. self::$extKey, SYSLOG_SEVERITY_WARNING); |
|
1025 | + \TYPO3\CMS\Core\Utility\GeneralUtility::devLog('[tx_dlf_document->getRawText('.$id.')] Invalid structure node @ID "'.$id.'"'.self::$extKey, SYSLOG_SEVERITY_WARNING); |
|
1026 | 1026 | |
1027 | 1027 | } |
1028 | 1028 |
@@ -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'])); |