Completed
Pull Request — master (#509)
by
unknown
02:13
created
Classes/ViewHelpers/DateTime/FormatUtcDateViewHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
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
             };
Please login to merge, or discard this patch.
Classes/Updates/NewIncludeExcludeStructureUpdate.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
Classes/Controller/CalendarController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,6 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
Classes/Service/IndexPreparationService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -160,10 +160,10 @@
 block discarded – undo
160 160
 
161 161
         $addFields = [];
162 162
         if (isset($ctrl['tstamp'])) {
163
-            $addFields['tstamp'] = (int) $record[$ctrl['tstamp']];
163
+            $addFields['tstamp'] = (int)$record[$ctrl['tstamp']];
164 164
         }
165 165
         if (isset($ctrl['crdate'])) {
166
-            $addFields['crdate'] = (int) $record[$ctrl['crdate']];
166
+            $addFields['crdate'] = (int)$record[$ctrl['crdate']];
167 167
         }
168 168
 
169 169
         foreach ($neededItems as $key => $value) {
Please login to merge, or discard this patch.
Classes/Updates/CalMigrationUpdate.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -504,7 +504,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.