We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -564,7 +564,7 @@ |
||
| 564 | 564 | // Get operator options. |
| 565 | 565 | $operatorOptions = []; |
| 566 | 566 | foreach (['AND', 'OR', 'NOT'] as $operator) { |
| 567 | - $operatorOptions[$operator] = htmlspecialchars(LocalizationUtility::translate('search.'.$operator, 'dlf')); |
|
| 567 | + $operatorOptions[$operator] = htmlspecialchars(LocalizationUtility::translate('search.' . $operator, 'dlf')); |
|
| 568 | 568 | } |
| 569 | 569 | // Get field selector options. |
| 570 | 570 | $fieldSelectorOptions = []; |
@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | ->where( |
| 99 | 99 | $queryBuilder->expr()->eq('tx_dlf_tokens.ident', $queryBuilder->createNamedParameter('oai')), |
| 100 | 100 | $queryBuilder->expr()->lt('tx_dlf_tokens.tstamp', |
| 101 | - $queryBuilder->createNamedParameter((int)($GLOBALS['EXEC_TIME'] - $this->settings['expired']))) |
|
| 101 | + $queryBuilder->createNamedParameter((int) ($GLOBALS['EXEC_TIME'] - $this->settings['expired']))) |
|
| 102 | 102 | ) |
| 103 | 103 | ->execute(); |
| 104 | 104 | |
@@ -331,11 +331,11 @@ discard block |
||
| 331 | 331 | protected function verbGetRecord() |
| 332 | 332 | { |
| 333 | 333 | if (count($this->parameters) !== 3 || empty($this->parameters['metadataPrefix']) || empty($this->parameters['identifier'])) { |
| 334 | - $this->error = 'badArgument' ; |
|
| 334 | + $this->error = 'badArgument'; |
|
| 335 | 335 | return; |
| 336 | 336 | } |
| 337 | 337 | if (!array_key_exists($this->parameters['metadataPrefix'], $this->formats)) { |
| 338 | - $this->error = 'cannotDisseminateFormat' ; |
|
| 338 | + $this->error = 'cannotDisseminateFormat'; |
|
| 339 | 339 | return; |
| 340 | 340 | } |
| 341 | 341 | $where = ''; |
@@ -485,7 +485,7 @@ discard block |
||
| 485 | 485 | // return next chunk of documents |
| 486 | 486 | $resultSet = $this->resume(); |
| 487 | 487 | if ($resultSet instanceof DocumentList) { |
| 488 | - $listIdentifiers = $this->generateOutputForDocumentList($resultSet); |
|
| 488 | + $listIdentifiers = $this->generateOutputForDocumentList($resultSet); |
|
| 489 | 489 | $this->view->assign('listIdentifiers', $listIdentifiers); |
| 490 | 490 | } |
| 491 | 491 | return; |
@@ -515,7 +515,7 @@ discard block |
||
| 515 | 515 | 'metadataPrefix' => $this->parameters['metadataPrefix'], |
| 516 | 516 | ]; |
| 517 | 517 | |
| 518 | - $listIdentifiers = $this->generateOutputForDocumentList($resultSet); |
|
| 518 | + $listIdentifiers = $this->generateOutputForDocumentList($resultSet); |
|
| 519 | 519 | $this->view->assign('listIdentifiers', $listIdentifiers); |
| 520 | 520 | } |
| 521 | 521 | |
@@ -586,7 +586,7 @@ discard block |
||
| 586 | 586 | // return next chunk of documents |
| 587 | 587 | $resultSet = $this->resume(); |
| 588 | 588 | if ($resultSet instanceof DocumentList) { |
| 589 | - $listRecords = $this->generateOutputForDocumentList($resultSet); |
|
| 589 | + $listRecords = $this->generateOutputForDocumentList($resultSet); |
|
| 590 | 590 | $this->parameters['metadataPrefix'] = $resultSet->metadata['metadataPrefix']; |
| 591 | 591 | $this->view->assign('listRecords', $listRecords); |
| 592 | 592 | } |
@@ -617,7 +617,7 @@ discard block |
||
| 617 | 617 | 'metadataPrefix' => $this->parameters['metadataPrefix'], |
| 618 | 618 | ]; |
| 619 | 619 | |
| 620 | - $resultSet = $this->generateOutputForDocumentList($resultSet); |
|
| 620 | + $resultSet = $this->generateOutputForDocumentList($resultSet); |
|
| 621 | 621 | $this->view->assign('listRecords', $resultSet); |
| 622 | 622 | } |
| 623 | 623 | |
@@ -810,7 +810,7 @@ discard block |
||
| 810 | 810 | */ |
| 811 | 811 | protected function generateOutputForDocumentList(DocumentList $documentListSet) |
| 812 | 812 | { |
| 813 | - $documentsToProcess = $documentListSet->removeRange(0, (int)$this->settings['limit']); |
|
| 813 | + $documentsToProcess = $documentListSet->removeRange(0, (int) $this->settings['limit']); |
|
| 814 | 814 | $verb = $this->parameters['verb']; |
| 815 | 815 | |
| 816 | 816 | $connection = GeneralUtility::makeInstance(ConnectionPool::class) |
@@ -918,7 +918,7 @@ discard block |
||
| 918 | 918 | $resumptionTokenInfo['cursor'] = $documentListSet->metadata['completeListSize'] - count($documentListSet); |
| 919 | 919 | $resumptionTokenInfo['completeListSize'] = $documentListSet->metadata['completeListSize']; |
| 920 | 920 | $expireDateTime = new \DateTime(); |
| 921 | - $expireDateTime->add(new \DateInterval('PT' .$this->settings['expired'] . 'S')); |
|
| 921 | + $expireDateTime->add(new \DateInterval('PT' . $this->settings['expired'] . 'S')); |
|
| 922 | 922 | $resumptionTokenInfo['expired'] = $expireDateTime; |
| 923 | 923 | |
| 924 | 924 | $this->view->assign('resumptionToken', $resumptionTokenInfo); |