We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -158,7 +158,7 @@ discard block |
||
158 | 158 | $connectionPool = GeneralUtility::makeInstance(ConnectionPool::class); |
159 | 159 | $allResults = []; |
160 | 160 | $numResults = 0; |
161 | - foreach(array_keys($this->fieldsToMigrate) as $table) { |
|
161 | + foreach (array_keys($this->fieldsToMigrate) as $table) { |
|
162 | 162 | $queryBuilder = $connectionPool->getQueryBuilderForTable($table); |
163 | 163 | $queryBuilder->getRestrictions()->removeAll(); |
164 | 164 | try { |
@@ -242,11 +242,11 @@ discard block |
||
242 | 242 | return; |
243 | 243 | } |
244 | 244 | |
245 | - $storageUid = (int)$this->storage->getUid(); |
|
245 | + $storageUid = (int) $this->storage->getUid(); |
|
246 | 246 | $connectionPool = GeneralUtility::makeInstance(ConnectionPool::class); |
247 | 247 | |
248 | 248 | $fileUid = null; |
249 | - $sourcePath = Environment::getPublicPath() . '/' . $fieldItem; |
|
249 | + $sourcePath = Environment::getPublicPath() . '/' . $fieldItem; |
|
250 | 250 | |
251 | 251 | // maybe the file was already moved, so check if the original file still exists |
252 | 252 | if (file_exists($sourcePath)) { |
@@ -267,7 +267,7 @@ |
||
267 | 267 | $solrCore = $this->solrCoreRepository->findByPid($this->pid); |
268 | 268 | $solrCore2 = $this->solrCoreRepository->findByPid(0); |
269 | 269 | |
270 | - if (count($solrCore) > 0 OR count($solrCore2) > 0) { |
|
270 | + if (count($solrCore) > 0 or count($solrCore2) > 0) { |
|
271 | 271 | if (count($solrCore) > 0) { |
272 | 272 | // Fine. |
273 | 273 | $this->addFlashMessage( |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | namespace Kitodo\Dlf\Hooks; |
4 | 4 | |
5 | 5 | use TYPO3\CMS\Backend\Form\Element\AbstractFormElement; |