Completed
Push — master ( af32df...1507bf )
by
unknown
21:00
created
typo3/sysext/core/Classes/TypoScript/Parser/TypoScriptParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -883,7 +883,7 @@
 block discarded – undo
883 883
                     $filePointerPathParts = explode('/', substr($filename, 4));
884 884
 
885 885
                     // remove file part, determine whether to load setup or constants
886
-                    list($includeType, ) = explode('.', array_pop($filePointerPathParts));
886
+                    list($includeType,) = explode('.', array_pop($filePointerPathParts));
887 887
 
888 888
                     if (in_array($includeType, ['setup', 'constants'])) {
889 889
                         // adapt extension key to required format (no underscores)
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Service/DependencyOrderingService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -172,8 +172,8 @@
 block discarded – undo
172 172
 
173 173
         // Check for remaining edges in the graph
174 174
         $cycles = [];
175
-        array_walk($dependencyGraph, function ($dependencies, $fromId) use (&$cycles) {
176
-            array_walk($dependencies, function ($dependency, $toId) use (&$cycles, $fromId) {
175
+        array_walk($dependencyGraph, function($dependencies, $fromId) use (&$cycles) {
176
+            array_walk($dependencies, function($dependency, $toId) use (&$cycles, $fromId) {
177 177
                 if ($dependency) {
178 178
                     $cycles[] = $fromId . '->' . $toId;
179 179
                 }
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Http/Message.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -319,7 +319,7 @@  discard block
 block discarded – undo
319 319
         foreach ($headers as $name => $headerValues) {
320 320
             $this->validateHeaderName($name);
321 321
             // check if all values are correct
322
-            array_walk($headerValues, function ($value, $key, Message $messageObject) {
322
+            array_walk($headerValues, function($value, $key, Message $messageObject) {
323 323
                 if (!$messageObject->isValidHeaderValue($value)) {
324 324
                     throw new \InvalidArgumentException('Invalid header value for header "' . $key . '"', 1436717268);
325 325
                 }
@@ -359,7 +359,7 @@  discard block
 block discarded – undo
359 359
      */
360 360
     protected function arrayContainsOnlyStrings(array $data)
361 361
     {
362
-        return array_reduce($data, function ($original, $item) {
362
+        return array_reduce($data, function($original, $item) {
363 363
             return is_string($item) ? $original : false;
364 364
         }, true);
365 365
     }
@@ -373,7 +373,7 @@  discard block
 block discarded – undo
373 373
      */
374 374
     protected function validateHeaderValues(array $values)
375 375
     {
376
-        array_walk($values, function ($value, $key, Message $messageObject) {
376
+        array_walk($values, function($value, $key, Message $messageObject) {
377 377
             if (!$messageObject->isValidHeaderValue($value)) {
378 378
                 throw new \InvalidArgumentException('Invalid header value for header "' . $key . '"', 1436717269);
379 379
             }
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/DataHandling/Localization/DataMapProcessor.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1091,7 +1091,7 @@  discard block
 block discarded – undo
1091 1091
     {
1092 1092
         return array_filter(
1093 1093
             $items,
1094
-            function (DataMapItem $item) use ($type) {
1094
+            function(DataMapItem $item) use ($type) {
1095 1095
                 return $item->getType() === $type;
1096 1096
             }
1097 1097
         );
@@ -1108,7 +1108,7 @@  discard block
 block discarded – undo
1108 1108
     {
1109 1109
         return array_filter(
1110 1110
             $ids,
1111
-            function ($id) use ($numeric) {
1111
+            function($id) use ($numeric) {
1112 1112
                 return MathUtility::canBeInterpretedAsInteger($id) === $numeric;
1113 1113
             }
1114 1114
         );
@@ -1125,7 +1125,7 @@  discard block
 block discarded – undo
1125 1125
     {
1126 1126
         return array_filter(
1127 1127
             $ids,
1128
-            function ($id) use ($tableName) {
1128
+            function($id) use ($tableName) {
1129 1129
                 return $this->findItem($tableName, $id) === null;
1130 1130
             }
1131 1131
         );
@@ -1140,7 +1140,7 @@  discard block
 block discarded – undo
1140 1140
     protected function mapRelationItemId(array $relationItems)
1141 1141
     {
1142 1142
         return array_map(
1143
-            function (array $relationItem) {
1143
+            function(array $relationItem) {
1144 1144
                 return (int)$relationItem['id'];
1145 1145
             },
1146 1146
             $relationItems
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/DataHandling/DataHandler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2326,7 +2326,7 @@  discard block
 block discarded – undo
2326 2326
                 if ($status === 'update') {
2327 2327
                     $dbAnalysis->writeMM($tcaFieldConf['MM'], $id, 0);
2328 2328
                     $newFiles = implode(',', $dbAnalysis->getValueArray());
2329
-                    list(, , $recFieldName) = explode(':', $recFID);
2329
+                    list(,, $recFieldName) = explode(':', $recFID);
2330 2330
                     if ($currentFilesForHistory != $newFiles) {
2331 2331
                         $this->mmHistoryRecords[$table . ':' . $id]['oldRecord'][$recFieldName] = $currentFilesForHistory;
2332 2332
                         $this->mmHistoryRecords[$table . ':' . $id]['newRecord'][$recFieldName] = $newFiles;
@@ -2575,7 +2575,7 @@  discard block
 block discarded – undo
2575 2575
      */
2576 2576
     public function checkValue_inline($res, $value, $tcaFieldConf, $PP, $field, array $additionalData = null)
2577 2577
     {
2578
-        list($table, $id, , $status) = $PP;
2578
+        list($table, $id,, $status) = $PP;
2579 2579
         $this->checkValueForInline($res, $value, $tcaFieldConf, $table, $id, $status, $field, $additionalData);
2580 2580
     }
2581 2581
 
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Resource/Service/UserFileMountService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     public function renderTceformsSelectDropdown(&$PA)
42 42
     {
43 43
         $allowedStorageIds = array_map(
44
-            function (\TYPO3\CMS\Core\Resource\ResourceStorage $storage) {
44
+            function(\TYPO3\CMS\Core\Resource\ResourceStorage $storage) {
45 45
                 return $storage->getUid();
46 46
             },
47 47
             $this->getBackendUserAuthentication()->getFileStorages()
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Cache/Backend/Typo3DatabaseBackend.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -286,7 +286,7 @@
 block discarded – undo
286 286
         // VERY simple quoting of tags is sufficient here for performance. Tags are already
287 287
         // validated to not contain any bad characters, e.g. they are automatically generated
288 288
         // inside this class and suffixed with a pure integer enforced by DB.
289
-        $quotedTagList = array_map(function ($value) {
289
+        $quotedTagList = array_map(function($value) {
290 290
             return '\'' . $value . '\'';
291 291
         }, $tags);
292 292
 
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Container/FlexFormContainerContainer.php 1 patch
Spacing   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -84,33 +84,33 @@
 block discarded – undo
84 84
 
85 85
         $html = [];
86 86
         $html[] = '<div class="t3-form-field-container-flexsections t3-flex-section t3js-flex-section">';
87
-        $html[] =    '<input class="t3-flex-control t3js-flex-control-action" type="hidden" name="' . htmlspecialchars($actionFieldName) . '" value="" />';
88
-        $html[] =    '<div class="panel panel-default panel-condensed">';
89
-        $html[] =        '<div class="panel-heading t3js-flex-section-header" data-toggle="formengine-flex">';
90
-        $html[] =            '<div class="form-irre-header">';
91
-        $html[] =                '<div class="form-irre-header-cell form-irre-header-icon">';
92
-        $html[] =                    $toggleIcons;
93
-        $html[] =                '</div>';
94
-        $html[] =                '<div class="form-irre-header-cell form-irre-header-body">';
95
-        $html[] =                    '<span class="t3js-record-title">' . htmlspecialchars($containerTitle) . '</span>';
96
-        $html[] =                '</div>';
97
-        $html[] =                '<div class="form-irre-header-cell form-irre-header-control">';
98
-        $html[] =                    '<div class="btn-group btn-group-sm">';
99
-        $html[] =                        implode(LF, $moveAndDeleteContent);
100
-        $html[] =                    '</div>';
101
-        $html[] =                '</div>';
102
-        $html[] =            '</div>';
103
-        $html[] =        '</div>';
104
-        $html[] =        '<div class="panel-collapse t3js-flex-section-content"' . ($flexFormContainerElementCollapsed ? ' style="display:none;"' : '') . '>';
105
-        $html[] =            $containerContentResult['html'];
106
-        $html[] =        '</div>';
107
-        $html[] =        '<input';
108
-        $html[] =            'class="t3-flex-control t3js-flex-control-toggle"';
109
-        $html[] =            'type="hidden"';
110
-        $html[] =            'name="' . htmlspecialchars($toggleFieldName) . '"';
111
-        $html[] =            'value="' . ($flexFormContainerElementCollapsed ? '1' : '0') . '"';
112
-        $html[] =        '/>';
113
-        $html[] =    '</div>';
87
+        $html[] = '<input class="t3-flex-control t3js-flex-control-action" type="hidden" name="' . htmlspecialchars($actionFieldName) . '" value="" />';
88
+        $html[] = '<div class="panel panel-default panel-condensed">';
89
+        $html[] = '<div class="panel-heading t3js-flex-section-header" data-toggle="formengine-flex">';
90
+        $html[] = '<div class="form-irre-header">';
91
+        $html[] = '<div class="form-irre-header-cell form-irre-header-icon">';
92
+        $html[] = $toggleIcons;
93
+        $html[] = '</div>';
94
+        $html[] = '<div class="form-irre-header-cell form-irre-header-body">';
95
+        $html[] = '<span class="t3js-record-title">' . htmlspecialchars($containerTitle) . '</span>';
96
+        $html[] = '</div>';
97
+        $html[] = '<div class="form-irre-header-cell form-irre-header-control">';
98
+        $html[] = '<div class="btn-group btn-group-sm">';
99
+        $html[] = implode(LF, $moveAndDeleteContent);
100
+        $html[] = '</div>';
101
+        $html[] = '</div>';
102
+        $html[] = '</div>';
103
+        $html[] = '</div>';
104
+        $html[] = '<div class="panel-collapse t3js-flex-section-content"' . ($flexFormContainerElementCollapsed ? ' style="display:none;"' : '') . '>';
105
+        $html[] = $containerContentResult['html'];
106
+        $html[] = '</div>';
107
+        $html[] = '<input';
108
+        $html[] = 'class="t3-flex-control t3js-flex-control-toggle"';
109
+        $html[] = 'type="hidden"';
110
+        $html[] = 'name="' . htmlspecialchars($toggleFieldName) . '"';
111
+        $html[] = 'value="' . ($flexFormContainerElementCollapsed ? '1' : '0') . '"';
112
+        $html[] = '/>';
113
+        $html[] = '</div>';
114 114
         $html[] = '</div>';
115 115
 
116 116
         $resultArray = $this->initializeResultArray();
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Container/PaletteAndSingleContainer.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -384,10 +384,10 @@
 block discarded – undo
384 384
 
385 385
         $content = [];
386 386
         $content[] = '<div class="' . implode(' ', $paletteFieldClasses) . '">';
387
-        $content[] =    '<label class="t3js-formengine-label">';
388
-        $content[] =        $label;
389
-        $content[] =    '</label>';
390
-        $content[] =    $element['fieldHtml'];
387
+        $content[] = '<label class="t3js-formengine-label">';
388
+        $content[] = $label;
389
+        $content[] = '</label>';
390
+        $content[] = $element['fieldHtml'];
391 391
         $content[] = '</div>';
392 392
 
393 393
         return implode(LF, $content);
Please login to merge, or discard this patch.