We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -173,7 +173,7 @@ discard block |
||
173 | 173 | $usergroup = array_unique(array_merge(array ($groupUid), $resArray['usergroup'])); |
174 | 174 | |
175 | 175 | // Try to configure user. |
176 | - $data = array(); |
|
176 | + $data = array (); |
|
177 | 177 | $data['be_users'][$resArray['uid']] = array ( |
178 | 178 | 'admin' => 0, |
179 | 179 | 'usergroup' => implode(',', $usergroup), |
@@ -230,7 +230,7 @@ discard block |
||
230 | 230 | // Try to create user. |
231 | 231 | $tempUid = uniqid('NEW'); |
232 | 232 | |
233 | - $data = array(); |
|
233 | + $data = array (); |
|
234 | 234 | $data['be_users'][$tempUid] = array ( |
235 | 235 | 'pid' => 0, |
236 | 236 | 'username' => '_cli_dlf', |
@@ -342,10 +342,10 @@ discard block |
||
342 | 342 | |
343 | 343 | // Check if group "_cli_dlf" exists and is not disabled. |
344 | 344 | $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery( |
345 | - 'uid,non_exclude_fields,tables_select,tables_modify,' . |
|
345 | + 'uid,non_exclude_fields,tables_select,tables_modify,'. |
|
346 | 346 | $GLOBALS['TCA']['be_groups']['ctrl']['enablecolumns']['disabled'], |
347 | 347 | 'be_groups', |
348 | - 'title=' . $GLOBALS['TYPO3_DB']->fullQuoteStr('_cli_dlf', 'be_groups') . |
|
348 | + 'title='.$GLOBALS['TYPO3_DB']->fullQuoteStr('_cli_dlf', 'be_groups'). |
|
349 | 349 | \TYPO3\CMS\Backend\Utility\BackendUtility::deleteClause('be_groups') |
350 | 350 | ); |
351 | 351 | |
@@ -388,8 +388,8 @@ discard block |
||
388 | 388 | $tables_modify = array_unique(array_merge($settings['tables_modify'], $resArray['tables_modify'])); |
389 | 389 | |
390 | 390 | // Try to configure usergroup. |
391 | - $data = array(); |
|
392 | - $data['be_groups'][$resArray['uid']] = array( |
|
391 | + $data = array (); |
|
392 | + $data['be_groups'][$resArray['uid']] = array ( |
|
393 | 393 | 'non_exclude_fields' => implode(',', $non_exclude_fields), |
394 | 394 | 'tables_select' => implode(',', $tables_select), |
395 | 395 | 'tables_modify' => implode(',', $tables_modify), |
@@ -444,8 +444,8 @@ discard block |
||
444 | 444 | // Try to create usergroup. |
445 | 445 | $tempUid = uniqid('NEW'); |
446 | 446 | |
447 | - $data = array(); |
|
448 | - $data['be_groups'][$tempUid] = array( |
|
447 | + $data = array (); |
|
448 | + $data['be_groups'][$tempUid] = array ( |
|
449 | 449 | 'pid' => 0, |
450 | 450 | 'title' => '_cli_dlf', |
451 | 451 | 'description' => $GLOBALS['LANG']->getLL('cliUserGroup.grpDescription'), |
@@ -31,7 +31,7 @@ |
||
31 | 31 | * |
32 | 32 | * @return void |
33 | 33 | */ |
34 | - public function construct_postProcessRecordId(SimpleXMLElement &$xml, &$record_id) { |
|
34 | + public function construct_postProcessRecordId(SimpleXMLElement & $xml, &$record_id) { |
|
35 | 35 | |
36 | 36 | if (!$record_id) { |
37 | 37 |
@@ -337,7 +337,7 @@ discard block |
||
337 | 337 | } else { |
338 | 338 | |
339 | 339 | // Reindex document. |
340 | - $doc =& tx_dlf_document::getInstance($id); |
|
340 | + $doc = & tx_dlf_document::getInstance($id); |
|
341 | 341 | |
342 | 342 | if ($doc->ready) { |
343 | 343 | |
@@ -422,7 +422,7 @@ discard block |
||
422 | 422 | case 'undelete': |
423 | 423 | |
424 | 424 | // Reindex document. |
425 | - $doc =& tx_dlf_document::getInstance($id); |
|
425 | + $doc = & tx_dlf_document::getInstance($id); |
|
426 | 426 | |
427 | 427 | if ($doc->ready) { |
428 | 428 |
@@ -161,7 +161,7 @@ |
||
161 | 161 | if (!empty($this->piVars['id'])) { |
162 | 162 | |
163 | 163 | // Get instance of tx_dlf_document. |
164 | - $this->doc =& tx_dlf_document::getInstance($this->piVars['id']); |
|
164 | + $this->doc = & tx_dlf_document::getInstance($this->piVars['id']); |
|
165 | 165 | |
166 | 166 | if (!$this->doc->ready) { |
167 | 167 |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * LICENSE.txt file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -$EM_CONF[$_EXTKEY] = array( |
|
12 | +$EM_CONF[$_EXTKEY] = array ( |
|
13 | 13 | 'title' => 'Kitodo.Presentation', |
14 | 14 | 'description' => 'Base plugins, modules, services and API of the Digital Library Framework. It is part of the community-based Kitodo Digitization Suite.', |
15 | 15 | 'category' => 'fe', |
@@ -27,14 +27,14 @@ discard block |
||
27 | 27 | 'clearCacheOnLoad' => FALSE, |
28 | 28 | 'lockType' => '', |
29 | 29 | 'version' => '2.1.0', |
30 | - 'constraints' => array( |
|
31 | - 'depends' => array( |
|
30 | + 'constraints' => array ( |
|
31 | + 'depends' => array ( |
|
32 | 32 | 'php' => '5.3.7-', |
33 | 33 | 'typo3' => '6.2.0-7.9.99', |
34 | 34 | ), |
35 | - 'conflicts' => array( |
|
35 | + 'conflicts' => array ( |
|
36 | 36 | ), |
37 | - 'suggests' => array( |
|
37 | + 'suggests' => array ( |
|
38 | 38 | ), |
39 | 39 | ), |
40 | 40 | '_md5_values_when_last_written' => '', |
@@ -193,7 +193,7 @@ discard block |
||
193 | 193 | 'page' => $this->list[$number]['page'] |
194 | 194 | ); |
195 | 195 | |
196 | - if(!empty($this->piVars['logicalPage'])) { |
|
196 | + if (!empty($this->piVars['logicalPage'])) { |
|
197 | 197 | |
198 | 198 | $additionalParams['logicalPage'] = $this->piVars['logicalPage']; |
199 | 199 | |
@@ -318,9 +318,9 @@ discard block |
||
318 | 318 | 'forceAbsoluteUrl' => 1 |
319 | 319 | ); |
320 | 320 | |
321 | - if(!empty($this->piVars['logicalPage'])) { |
|
321 | + if (!empty($this->piVars['logicalPage'])) { |
|
322 | 322 | |
323 | - $linkConf['additionalParams'] = \TYPO3\CMS\Core\Utility\GeneralUtility::implodeArrayForUrl($this->prefixId,array('logicalPage' => $this->piVars['logicalPage']), '', TRUE, FALSE); |
|
323 | + $linkConf['additionalParams'] = \TYPO3\CMS\Core\Utility\GeneralUtility::implodeArrayForUrl($this->prefixId, array ('logicalPage' => $this->piVars['logicalPage']), '', TRUE, FALSE); |
|
324 | 324 | |
325 | 325 | } |
326 | 326 | |
@@ -437,7 +437,7 @@ discard block |
||
437 | 437 | 'highlight_word' => preg_replace('/\s\s+/', ';', $this->list->metadata['searchString']) |
438 | 438 | ); |
439 | 439 | |
440 | - if(!empty($this->piVars['logicalPage'])) { |
|
440 | + if (!empty($this->piVars['logicalPage'])) { |
|
441 | 441 | |
442 | 442 | $additionalParams['logicalPage'] = $this->piVars['logicalPage']; |
443 | 443 |
@@ -139,9 +139,9 @@ discard block |
||
139 | 139 | |
140 | 140 | // Set default values if not set. |
141 | 141 | // $this->piVars['page'] may be integer or string (physical structure @ID) |
142 | - if ( (int)$this->piVars['page'] > 0 || empty($this->piVars['page'])) { |
|
142 | + if ((int) $this->piVars['page'] > 0 || empty($this->piVars['page'])) { |
|
143 | 143 | |
144 | - $this->piVars['page'] = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange((int)$this->piVars['page'], 1, $this->doc->numPages, 1); |
|
144 | + $this->piVars['page'] = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange((int) $this->piVars['page'], 1, $this->doc->numPages, 1); |
|
145 | 145 | |
146 | 146 | } else { |
147 | 147 | |
@@ -279,11 +279,11 @@ discard block |
||
279 | 279 | $markerArray['###LINKLISTVIEW###'] = $this->getLinkToListview(); |
280 | 280 | |
281 | 281 | // fill some language labels if available |
282 | - $markerArray['###ZOOM_IN###'] = $this->pi_getLL('zoom-in', '', TRUE); |
|
282 | + $markerArray['###ZOOM_IN###'] = $this->pi_getLL('zoom-in', '', TRUE); |
|
283 | 283 | $markerArray['###ZOOM_OUT###'] = $this->pi_getLL('zoom-out', '', TRUE); |
284 | 284 | $markerArray['###ZOOM_FULLSCREEN###'] = $this->pi_getLL('zoom-fullscreen', '', TRUE); |
285 | 285 | |
286 | - $markerArray['###ROTATE_LEFT###'] = $this->pi_getLL('rotate-left', '', TRUE); |
|
286 | + $markerArray['###ROTATE_LEFT###'] = $this->pi_getLL('rotate-left', '', TRUE); |
|
287 | 287 | $markerArray['###ROTATE_RIGHT###'] = $this->pi_getLL('rotate-right', '', TRUE); |
288 | 288 | $markerArray['###ROTATE_RESET###'] = $this->pi_getLL('rotate-reset', '', TRUE); |
289 | 289 |
@@ -230,9 +230,9 @@ |
||
230 | 230 | |
231 | 231 | // Set default values for page if not set. |
232 | 232 | // $this->piVars['page'] may be integer or string (physical structure @ID) |
233 | - if ( (int)$this->piVars['page'] > 0 || empty($this->piVars['page'])) { |
|
233 | + if ((int) $this->piVars['page'] > 0 || empty($this->piVars['page'])) { |
|
234 | 234 | |
235 | - $this->piVars['page'] = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange((int)$this->piVars['page'], 1, $this->doc->numPages, 1); |
|
235 | + $this->piVars['page'] = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange((int) $this->piVars['page'], 1, $this->doc->numPages, 1); |
|
236 | 236 | |
237 | 237 | } else { |
238 | 238 |
@@ -213,7 +213,7 @@ |
||
213 | 213 | $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery( |
214 | 214 | 'tx_dlf_metadata.index_name AS index_name,tx_dlf_metadata.is_listed AS is_listed,tx_dlf_metadata.wrap AS wrap', |
215 | 215 | 'tx_dlf_metadata', |
216 | - 'tx_dlf_metadata.pid='.intval($this->conf['pages']).tx_dlf_helper::whereClause('tx_dlf_metadata').' AND (sys_language_uid IN (-1,0) OR (sys_language_uid = ' .$GLOBALS['TSFE']->sys_language_uid. ' AND l18n_parent = 0))', |
|
216 | + 'tx_dlf_metadata.pid='.intval($this->conf['pages']).tx_dlf_helper::whereClause('tx_dlf_metadata').' AND (sys_language_uid IN (-1,0) OR (sys_language_uid = '.$GLOBALS['TSFE']->sys_language_uid.' AND l18n_parent = 0))', |
|
217 | 217 | '', |
218 | 218 | 'tx_dlf_metadata.sorting', |
219 | 219 | '' |