@@ -33,7 +33,7 @@ |
||
| 33 | 33 | |
| 34 | 34 | $date = $arguments['date']; |
| 35 | 35 | if ($date instanceof \DateTimeInterface) { |
| 36 | - $renderChildrenClosure = function () use ($date) { |
|
| 36 | + $renderChildrenClosure = function() use ($date) { |
|
| 37 | 37 | // Convert date to timestamp, so that it can be reparsed. |
| 38 | 38 | return $date->getTimestamp(); |
| 39 | 39 | }; |
@@ -10,7 +10,6 @@ |
||
| 10 | 10 | use HDNET\Calendarize\Domain\Model\ConfigurationInterface; |
| 11 | 11 | use HDNET\Calendarize\Utility\HelperUtility; |
| 12 | 12 | use TYPO3\CMS\Install\Updates\DatabaseUpdatedPrerequisite; |
| 13 | -use TYPO3\CMS\Install\Updates\UpgradeWizardInterface; |
|
| 14 | 13 | |
| 15 | 14 | /** |
| 16 | 15 | * NewIncludeExcludeStructureUpdate. |
@@ -25,8 +25,6 @@ |
||
| 25 | 25 | use TYPO3\CMS\Extbase\Persistence\QueryInterface; |
| 26 | 26 | use TYPO3\CMS\Extbase\Property\TypeConverter\DateTimeConverter; |
| 27 | 27 | use TYPO3\CMS\Extbase\SignalSlot\Dispatcher; |
| 28 | -use TYPO3\CMS\Frontend\Controller\ErrorController; |
|
| 29 | -use TYPO3\CMS\Frontend\Page\PageAccessFailureReasons; |
|
| 30 | 28 | |
| 31 | 29 | /** |
| 32 | 30 | * Calendar. |
@@ -504,7 +504,7 @@ discard block |
||
| 504 | 504 | $variables = $dispatcher->dispatch(__CLASS__, __FUNCTION__, $variables); |
| 505 | 505 | |
| 506 | 506 | foreach ($selectResults as $mm) { |
| 507 | - $eventUidOld = (int) $mm['uid_foreign']; |
|
| 507 | + $eventUidOld = (int)$mm['uid_foreign']; |
|
| 508 | 508 | // event id is in uid_foreign |
| 509 | 509 | $eventUid = (int)$this->getCalendarizeEventUid(self::IMPORT_PREFIX . $eventUidOld, $dbQueries, $customMessages); |
| 510 | 510 | |
@@ -1177,7 +1177,7 @@ discard block |
||
| 1177 | 1177 | $connection = $connectionPool->getConnectionByName(ConnectionPool::DEFAULT_CONNECTION_NAME); |
| 1178 | 1178 | $dbSchema = $connection->getSchemaManager()->createSchema(); |
| 1179 | 1179 | |
| 1180 | - $tableNames = array_map(function ($table) { |
|
| 1180 | + $tableNames = array_map(function($table) { |
|
| 1181 | 1181 | return $table->getName(); |
| 1182 | 1182 | }, $dbSchema->getTables()); |
| 1183 | 1183 | |