We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -18,7 +18,8 @@ discard block |
||
| 18 | 18 | |
| 19 | 19 | class MetadataRepository extends \TYPO3\CMS\Extbase\Persistence\Repository |
| 20 | 20 | { |
| 21 | - public function getMetadataForListview($pages) { |
|
| 21 | + public function getMetadataForListview($pages) |
|
| 22 | + { |
|
| 22 | 23 | $query = $this->createQuery(); |
| 23 | 24 | |
| 24 | 25 | $query->matching($query->logicalOr([ |
@@ -34,7 +35,8 @@ discard block |
||
| 34 | 35 | return $query->execute(); |
| 35 | 36 | } |
| 36 | 37 | |
| 37 | - public function getMetadata($pages, $sysLangUid) { |
|
| 38 | + public function getMetadata($pages, $sysLangUid) |
|
| 39 | + { |
|
| 38 | 40 | $query = $this->createQuery(); |
| 39 | 41 | |
| 40 | 42 | $querySettings = $query->getQuerySettings(); |
@@ -184,7 +184,7 @@ |
||
| 184 | 184 | |
| 185 | 185 | // do not find collections without oai_name set (used by oai-pmh plugin) |
| 186 | 186 | if ($settings['hideEmptyOaiNames']) { |
| 187 | - $constraints[] = $query->logicalNot($query->equals('oai_name', '')); |
|
| 187 | + $constraints[] = $query->logicalNot($query->equals('oai_name', '')); |
|
| 188 | 188 | } |
| 189 | 189 | |
| 190 | 190 | if (count($constraints)) { |
@@ -41,7 +41,8 @@ discard block |
||
| 41 | 41 | |
| 42 | 42 | } |
| 43 | 43 | |
| 44 | - public function getCollections($settings, $uid, $sysLangUid) { |
|
| 44 | + public function getCollections($settings, $uid, $sysLangUid) |
|
| 45 | + { |
|
| 45 | 46 | $queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class) |
| 46 | 47 | ->getQueryBuilderForTable('tx_dlf_collections'); |
| 47 | 48 | |
@@ -98,7 +99,8 @@ discard block |
||
| 98 | 99 | return ['result' => $result, 'count' => $count]; |
| 99 | 100 | } |
| 100 | 101 | |
| 101 | - public function getSingleCollection($settings, $id, $sysLangUid) { |
|
| 102 | + public function getSingleCollection($settings, $id, $sysLangUid) |
|
| 103 | + { |
|
| 102 | 104 | $connectionPool = GeneralUtility::makeInstance(ConnectionPool::class); |
| 103 | 105 | $queryBuilder = $connectionPool->getQueryBuilderForTable('tx_dlf_collections'); |
| 104 | 106 | |
@@ -143,7 +145,8 @@ discard block |
||
| 143 | 145 | return $collection; |
| 144 | 146 | } |
| 145 | 147 | |
| 146 | - public function getCollectionForMetadata($pages) { |
|
| 148 | + public function getCollectionForMetadata($pages) |
|
| 149 | + { |
|
| 147 | 150 | // Get list of collections to show. |
| 148 | 151 | $query = $this->createQuery(); |
| 149 | 152 | |
@@ -152,7 +155,8 @@ discard block |
||
| 152 | 155 | return $query->execute(); |
| 153 | 156 | } |
| 154 | 157 | |
| 155 | - public function getFacetCollections($facetCollections) { |
|
| 158 | + public function getFacetCollections($facetCollections) |
|
| 159 | + { |
|
| 156 | 160 | $query = $this->createQuery(); |
| 157 | 161 | |
| 158 | 162 | $query->matching($query->in('uid', GeneralUtility::intExplode(',', $facetCollections))); |
@@ -201,7 +205,8 @@ discard block |
||
| 201 | 205 | return $query->execute(); |
| 202 | 206 | } |
| 203 | 207 | |
| 204 | - public function getIndexNameForSolr($settings, $set) { |
|
| 208 | + public function getIndexNameForSolr($settings, $set) |
|
| 209 | + { |
|
| 205 | 210 | $queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class) |
| 206 | 211 | ->getQueryBuilderForTable('tx_dlf_collections'); |
| 207 | 212 | |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | |
| 40 | 40 | $tokensToBeRemoved = $query->execute(); |
| 41 | 41 | |
| 42 | - foreach($tokensToBeRemoved as $token) { |
|
| 42 | + foreach ($tokensToBeRemoved as $token) { |
|
| 43 | 43 | $this->remove($token); |
| 44 | 44 | } |
| 45 | 45 | } |