We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | public function findOneByParameters($parameters) |
| 39 | 39 | { |
| 40 | 40 | $doc = null; |
| 41 | - $document =null; |
|
| 41 | + $document = null; |
|
| 42 | 42 | |
| 43 | 43 | if (isset($parameters['id']) && MathUtility::canBeInterpretedAsInteger($parameters['id'])) { |
| 44 | 44 | |
@@ -161,7 +161,7 @@ |
||
| 161 | 161 | } catch (\Exception $e) { |
| 162 | 162 | if (!(\TYPO3_REQUESTTYPE & \TYPO3_REQUESTTYPE_CLI)) { |
| 163 | 163 | Helper::addMessage( |
| 164 | - Helper::getMessage('flash.solrException', true) . ' '. htmlspecialchars($e->getMessage()), |
|
| 164 | + Helper::getMessage('flash.solrException', true) . ' ' . htmlspecialchars($e->getMessage()), |
|
| 165 | 165 | Helper::getMessage('flash.error', true), |
| 166 | 166 | FlashMessage::ERROR, |
| 167 | 167 | true, |
@@ -241,10 +241,10 @@ |
||
| 241 | 241 | } |
| 242 | 242 | |
| 243 | 243 | if ($dryRun) { |
| 244 | - $io->writeln('DRY RUN: Would index ' . $document->getUid() . ' ("' . $document->getLocation() . '") on PID ' . $this->storagePid . ' and Solr core ' . $solrCoreUid . '.'); |
|
| 244 | + $io->writeln('DRY RUN: Would index ' . $document->getUid() . ' ("' . $document->getLocation() . '") on PID ' . $this->storagePid . ' and Solr core ' . $solrCoreUid . '.'); |
|
| 245 | 245 | } else { |
| 246 | 246 | if ($io->isVerbose()) { |
| 247 | - $io->writeln(date('Y-m-d H:i:s') . ' Indexing ' . $document->getUid() . ' ("' . $document->getLocation() . '") on PID ' . $this->storagePid . ' and Solr core ' . $solrCoreUid . '.'); |
|
| 247 | + $io->writeln(date('Y-m-d H:i:s') . ' Indexing ' . $document->getUid() . ' ("' . $document->getLocation() . '") on PID ' . $this->storagePid . ' and Solr core ' . $solrCoreUid . '.'); |
|
| 248 | 248 | } |
| 249 | 249 | $document->setDoc($doc); |
| 250 | 250 | // save to database |