We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -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'], |
@@ -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 |
@@ -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 ( |