Completed
Push — master ( eb1a3e...90ec1a )
by Tim
31s
created
Classes/Domain/Repository/IndexRepository.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -214,8 +214,8 @@
 block discarded – undo
214 214
                 } elseif (\is_string($key) && \is_int($indexId)) {
215 215
                     // Table based single return value
216 216
                     $tabledIndexIds[] = [
217
-                         'table' => $key,
218
-                         'indexIds' => [$indexId],
217
+                            'table' => $key,
218
+                            'indexIds' => [$indexId],
219 219
                     ];
220 220
                 }
221 221
             }
Please login to merge, or discard this patch.
Classes/Widgets/DataProvider/NextEventsDataProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
         $query->setLimit(15);
33 33
         $indices = $query->execute()->toArray();
34 34
 
35
-        return array_map(function (Index $index) {
35
+        return array_map(function(Index $index) {
36 36
             try {
37 37
                 /** @var StandaloneView $standaloneView */
38 38
                 $standaloneView = GeneralUtility::makeInstance(StandaloneView::class);
Please login to merge, or discard this patch.
Classes/Command/CleanupCommandController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -209,12 +209,12 @@
 block discarded – undo
209 209
     protected function processEvent(Repository $repository, AbstractEntity $model, string $modus)
210 210
     {
211 211
         // define the function for the delete-modus.
212
-        $delete = static function ($repository, $model) {
212
+        $delete = static function($repository, $model) {
213 213
             $repository->remove($model);
214 214
         };
215 215
 
216 216
         // define the function for the hide-modus.
217
-        $hide = static function ($repository, $model) {
217
+        $hide = static function($repository, $model) {
218 218
             $model->setHidden(true);
219 219
             $repository->update($model);
220 220
         };
Please login to merge, or discard this patch.
Classes/Updates/CalMigrationUpdate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1184,7 +1184,7 @@
 block discarded – undo
1184 1184
         $connection = $connectionPool->getConnectionByName(ConnectionPool::DEFAULT_CONNECTION_NAME);
1185 1185
         $dbSchema = $connection->getSchemaManager()->createSchema();
1186 1186
 
1187
-        $tableNames = array_map(static function ($table) {
1187
+        $tableNames = array_map(static function($table) {
1188 1188
             return $table->getName();
1189 1189
         }, $dbSchema->getTables());
1190 1190
 
Please login to merge, or discard this patch.
Classes/Service/Ical/DissectICalService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
         }
24 24
         $events = $parser->getEvents();
25 25
 
26
-        $wrapEvents = static function (ICalEvent $event) {
26
+        $wrapEvents = static function(ICalEvent $event) {
27 27
             return new DissectEventAdapter($event);
28 28
         };
29 29
 
Please login to merge, or discard this patch.
Classes/Service/IndexPreparationService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
     {
85 85
         $workspace = isset($record['t3ver_wsid']) ? (int)$record['t3ver_wsid'] : 0;
86 86
         $origId = isset($record['t3ver_oid']) ? (int)$record['t3ver_oid'] : 0;
87
-        $neededItems = array_map(static function ($item) use ($workspace, $origId, $record) {
87
+        $neededItems = array_map(static function($item) use ($workspace, $origId, $record) {
88 88
             $item['t3ver_wsid'] = $workspace;
89 89
             // Set relation to the original record
90 90
             if ($workspace) {
Please login to merge, or discard this patch.
Classes/Service/TimeTable/TimeTimeTable.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
     {
64 64
         switch ($configuration->getEndDateDynamic()) {
65 65
             case Configuration::END_DYNAMIC_1_DAY:
66
-                $callback = static function ($entry) {
66
+                $callback = static function($entry) {
67 67
                     if ($entry['start_date'] instanceof \DateTime) {
68 68
                         $entry['end_date'] = clone $entry['start_date'];
69 69
                         $entry['end_date']->modify('+1 day');
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
                 };
74 74
                 break;
75 75
             case Configuration::END_DYNAMIC_1_WEEK:
76
-                $callback = static function ($entry) {
76
+                $callback = static function($entry) {
77 77
                     if ($entry['start_date'] instanceof \DateTime) {
78 78
                         $entry['end_date'] = clone $entry['start_date'];
79 79
                         $entry['end_date']->modify('+1 week');
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
                 };
84 84
                 break;
85 85
             case Configuration::END_DYNAMIC_END_WEEK:
86
-                $callback = static function ($entry) {
86
+                $callback = static function($entry) {
87 87
                     if ($entry['start_date'] instanceof \DateTime) {
88 88
                         $entry['end_date'] = clone $entry['start_date'];
89 89
                         $entry['end_date']->modify('monday next week');
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
                 };
95 95
                 break;
96 96
             case Configuration::END_DYNAMIC_END_MONTH:
97
-                $callback = static function ($entry) {
97
+                $callback = static function($entry) {
98 98
                     if ($entry['start_date'] instanceof \DateTime) {
99 99
                         $entry['end_date'] = clone $entry['start_date'];
100 100
                         $entry['end_date']->modify('last day of this month');
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
                 };
105 105
                 break;
106 106
             case Configuration::END_DYNAMIC_END_YEAR:
107
-                $callback = static function ($entry) {
107
+                $callback = static function($entry) {
108 108
                     if ($entry['start_date'] instanceof \DateTime) {
109 109
                         $entry['end_date'] = clone $entry['start_date'];
110 110
                         $entry['end_date']->setDate((int)$entry['end_date']->format('Y'), 12, 31);
Please login to merge, or discard this patch.
Classes/Service/IndexerService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -206,7 +206,7 @@
 block discarded – undo
206 206
 
207 207
         if ($workspace) {
208 208
             // Placeholder are respect in function updateIndex
209
-            $currentItems = array_filter($currentItems, static function ($item) {
209
+            $currentItems = array_filter($currentItems, static function($item) {
210 210
                 return VersionState::DELETE_PLACEHOLDER !== $item['t3ver_state'];
211 211
             });
212 212
         }
Please login to merge, or discard this patch.
Classes/Domain/Repository/RawIndexRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
         }
99 99
 
100 100
         // @todo check
101
-        $result = array_values(array_filter($result, static function ($item) {
101
+        $result = array_values(array_filter($result, static function($item) {
102 102
             return \is_array($item) && VersionState::DELETE_PLACEHOLDER !== $item['t3ver_state'];
103 103
         }));
104 104
 
Please login to merge, or discard this patch.