We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | // Should user-defined collections be shown? |
115 | 115 | if (!empty($this->conf['show_userdefined']) && $this->conf['show_userdefined'] > 0) { |
116 | 116 | |
117 | - if(!empty($GLOBALS['TSFE']->fe_user->user['uid'])) { |
|
117 | + if (!empty($GLOBALS['TSFE']->fe_user->user['uid'])) { |
|
118 | 118 | $showUserDefinedCollections = ' AND tx_dlf_collections.fe_cruser_id='.intval($GLOBALS['TSFE']->fe_user->user['uid']); |
119 | 119 | } else { |
120 | 120 | $showUserDefinedCollections = ' AND NOT tx_dlf_collections.fe_cruser_id=0'; |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | $partOfSomething = $solr->search_raw($solr_query.' AND NOT partof:0', $parameters); |
167 | 167 | |
168 | 168 | // Titles are all documents that are "root"-elements i.e. partof == 0; |
169 | - $titles = array(); |
|
169 | + $titles = array (); |
|
170 | 170 | foreach ($partOfNothing as $doc) { |
171 | 171 | $titles[] = $doc->uid; |
172 | 172 | } |
@@ -343,7 +343,7 @@ discard block |
||
343 | 343 | if (empty($listMetadata)) { |
344 | 344 | |
345 | 345 | $listMetadata = array ( |
346 | - 'label' => !empty($l10nOverlay['label'])? htmlspecialchars($l10nOverlay['label']) : htmlspecialchars($collectionData['collLabel']), |
|
346 | + 'label' => !empty($l10nOverlay['label']) ? htmlspecialchars($l10nOverlay['label']) : htmlspecialchars($collectionData['collLabel']), |
|
347 | 347 | 'description' => !empty($l10nOverlay['description']) ? $this->pi_RTEcssText($l10nOverlay['description']) : $this->pi_RTEcssText($collectionData['collDesc']), |
348 | 348 | 'thumbnail' => htmlspecialchars($collectionData['collThumb']), |
349 | 349 | 'options' => array ( |