We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -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; |
@@ -517,7 +517,7 @@ discard block |
||
517 | 517 | ]; |
518 | 518 | } |
519 | 519 | |
520 | - $listIdentifiers = $this->generateOutputForDocumentList($resultSet); |
|
520 | + $listIdentifiers = $this->generateOutputForDocumentList($resultSet); |
|
521 | 521 | $this->view->assign('listIdentifiers', $listIdentifiers); |
522 | 522 | } |
523 | 523 | |
@@ -588,7 +588,7 @@ discard block |
||
588 | 588 | // return next chunk of documents |
589 | 589 | $resultSet = $this->resume(); |
590 | 590 | if ($resultSet instanceof DocumentList) { |
591 | - $listRecords = $this->generateOutputForDocumentList($resultSet); |
|
591 | + $listRecords = $this->generateOutputForDocumentList($resultSet); |
|
592 | 592 | $this->parameters['metadataPrefix'] = $resultSet->metadata['metadataPrefix']; |
593 | 593 | $this->view->assign('listRecords', $listRecords); |
594 | 594 | } |
@@ -621,7 +621,7 @@ discard block |
||
621 | 621 | ]; |
622 | 622 | } |
623 | 623 | |
624 | - $resultSet = $this->generateOutputForDocumentList($resultSet); |
|
624 | + $resultSet = $this->generateOutputForDocumentList($resultSet); |
|
625 | 625 | $this->view->assign('listRecords', $resultSet); |
626 | 626 | } |
627 | 627 | |
@@ -814,7 +814,7 @@ discard block |
||
814 | 814 | */ |
815 | 815 | protected function generateOutputForDocumentList(DocumentList $documentListSet) |
816 | 816 | { |
817 | - $documentsToProcess = $documentListSet->removeRange(0, (int)$this->settings['limit']); |
|
817 | + $documentsToProcess = $documentListSet->removeRange(0, (int) $this->settings['limit']); |
|
818 | 818 | if ($documentsToProcess === null) { |
819 | 819 | $this->error = 'noRecordsMatch'; |
820 | 820 | return []; |
@@ -926,7 +926,7 @@ discard block |
||
926 | 926 | $resumptionTokenInfo['cursor'] = $documentListSet->metadata['completeListSize'] - count($documentListSet); |
927 | 927 | $resumptionTokenInfo['completeListSize'] = $documentListSet->metadata['completeListSize']; |
928 | 928 | $expireDateTime = new \DateTime(); |
929 | - $expireDateTime->add(new \DateInterval('PT' .$this->settings['expired'] . 'S')); |
|
929 | + $expireDateTime->add(new \DateInterval('PT' . $this->settings['expired'] . 'S')); |
|
930 | 930 | $resumptionTokenInfo['expired'] = $expireDateTime; |
931 | 931 | |
932 | 932 | $this->view->assign('resumptionToken', $resumptionTokenInfo); |