We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | ->delete('tx_dlf_tokens') |
| 88 | 88 | ->where( |
| 89 | 89 | $queryBuilder->expr()->eq('tx_dlf_tokens.ident', $queryBuilder->createNamedParameter('oai')), |
| 90 | - $queryBuilder->expr()->lt('tx_dlf_tokens.tstamp', $queryBuilder->createNamedParameter((int)($GLOBALS['EXEC_TIME'] - $this->conf['expired']))) |
|
| 90 | + $queryBuilder->expr()->lt('tx_dlf_tokens.tstamp', $queryBuilder->createNamedParameter((int) ($GLOBALS['EXEC_TIME'] - $this->conf['expired']))) |
|
| 91 | 91 | ) |
| 92 | 92 | ->execute(); |
| 93 | 93 | |
@@ -483,8 +483,8 @@ discard block |
||
| 483 | 483 | |
| 484 | 484 | $statement = $connection->prepare($sql); |
| 485 | 485 | $statement->bindValue(1, $this->piVars['identifier']); |
| 486 | - $statement->bindValue(2, (int)$this->conf['pages']); |
|
| 487 | - $statement->bindValue(3, (int)$this->conf['pages']); |
|
| 486 | + $statement->bindValue(2, (int) $this->conf['pages']); |
|
| 487 | + $statement->bindValue(3, (int) $this->conf['pages']); |
|
| 488 | 488 | $statement->execute(); |
| 489 | 489 | |
| 490 | 490 | $resArray = $statement->fetch(); |
@@ -946,7 +946,7 @@ discard block |
||
| 946 | 946 | */ |
| 947 | 947 | protected function generateOutputForDocumentList(DocumentList $documentListSet) |
| 948 | 948 | { |
| 949 | - $documentsToProcess = $documentListSet->removeRange(0, (int)$this->conf['limit']); |
|
| 949 | + $documentsToProcess = $documentListSet->removeRange(0, (int) $this->conf['limit']); |
|
| 950 | 950 | $verb = $this->piVars['verb']; |
| 951 | 951 | |
| 952 | 952 | $connection = GeneralUtility::makeInstance(ConnectionPool::class)->getConnectionForTable('tx_dlf_documents'); |
@@ -965,9 +965,9 @@ discard block |
||
| 965 | 965 | |
| 966 | 966 | $documents = $connection->prepare($sql); |
| 967 | 967 | $documents->bindValue(1, implode(',', $documentsToProcess)); |
| 968 | - $documents->bindValue(2, (int)$this->conf['pages']); |
|
| 969 | - $documents->bindValue(3, (int)$this->conf['pages']); |
|
| 970 | - $documents->bindValue(4, (int)$this->conf['limit']); |
|
| 968 | + $documents->bindValue(2, (int) $this->conf['pages']); |
|
| 969 | + $documents->bindValue(3, (int) $this->conf['pages']); |
|
| 970 | + $documents->bindValue(4, (int) $this->conf['limit']); |
|
| 971 | 971 | $documents->execute(); |
| 972 | 972 | |
| 973 | 973 | $output = $this->oai->createElementNS('http://www.openarchives.org/OAI/2.0/', $verb); |