Passed
Push — master ( 383252...50ee8c )
by
unknown
14:43
created
typo3/sysext/dashboard/Classes/WidgetRegistry.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
      */
109 109
     protected function checkPermissionOfWidgets(array $widgets): array
110 110
     {
111
-        return array_filter($widgets, function ($identifier) {
111
+        return array_filter($widgets, function($identifier) {
112 112
             return $this->getBackendUser()->check('available_widgets', $identifier);
113 113
         }, ARRAY_FILTER_USE_KEY);
114 114
     }
Please login to merge, or discard this patch.
sysext/backend/Classes/View/Wizard/Element/BackendLayoutWizardElement.php 1 patch
Spacing   +73 added lines, -73 removed lines patch added patch discarded remove patch
@@ -60,84 +60,84 @@
 block discarded – undo
60 60
         $json = (string)json_encode($this->rows, JSON_HEX_QUOT | JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS);
61 61
         $html = [];
62 62
         $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
63
-        $html[] =   $fieldInformationHtml;
64
-        $html[] =   '<div class="form-control-wrap">';
65
-        $html[] =       '<div class="form-wizards-wrap">';
66
-        $html[] =           '<div class="form-wizards-element">';
67
-        $html[] =               '<input';
68
-        $html[] =                   ' type="hidden"';
69
-        $html[] =                   ' name="' . htmlspecialchars($this->data['parameterArray']['itemFormElName']) . '"';
70
-        $html[] =                   ' value="' . htmlspecialchars($this->data['parameterArray']['itemFormElValue']) . '"';
71
-        $html[] =                   '/>';
72
-        $html[] =               '<table class="grideditor table table-bordered">';
73
-        $html[] =                   '<tr>';
74
-        $html[] =                       '<td colspan="2" align="center">';
75
-        $html[] =                           '<div class="btn-group">';
76
-        $html[] =                               '<a class="btn btn-default btn-sm t3js-grideditor-removerow-top" href="#"';
77
-        $html[] =                                   ' title="' . htmlspecialchars($lang->getLL('grid_removeRow')) . '">';
78
-        $html[] =                                   '<i class="fa fa-fw fa-minus"></i>';
79
-        $html[] =                               '</a>';
80
-        $html[] =                               '<a class="btn btn-default btn-sm t3js-grideditor-addrow-top" href="#"';
81
-        $html[] =                                   ' title="' . htmlspecialchars($lang->getLL('grid_addRow')) . '">';
82
-        $html[] =                                   '<i class="fa fa-fw fa-plus"></i>';
83
-        $html[] =                               '</a>';
84
-        $html[] =                           '</div>';
85
-        $html[] =                       '</td>';
86
-        $html[] =                   '</tr>';
87
-        $html[] =                   '<tr>';
88
-        $html[] =                       '<td class="editor_cell">';
89
-        $html[] =                           '<div';
90
-        $html[] =                               ' id="editor"';
91
-        $html[] =                               ' class="t3js-grideditor"';
92
-        $html[] =                               ' data-data="' . htmlspecialchars($json) . '"';
93
-        $html[] =                               ' data-rowcount="' . (int)$this->rowCount . '"';
94
-        $html[] =                               ' data-colcount="' . (int)$this->colCount . '"';
95
-        $html[] =                               ' data-field="' . htmlspecialchars($this->data['parameterArray']['itemFormElName']) . '"';
96
-        $html[] =                           '>';
97
-        $html[] =                           '</div>';
98
-        $html[] =                       '</td>';
99
-        $html[] =                       '<td>';
100
-        $html[] =                           '<div class="btn-group-vertical">';
101
-        $html[] =                               '<a class="btn btn-default btn-sm t3js-grideditor-addcolumn" href="#"';
102
-        $html[] =                                   ' title="' . htmlspecialchars($lang->getLL('grid_addColumn')) . '">';
103
-        $html[] =                                   '<i class="fa fa-fw fa-plus"></i>';
104
-        $html[] =                               '</a>';
105
-        $html[] =                               '<a class="btn btn-default btn-sm t3js-grideditor-removecolumn" href="#"';
106
-        $html[] =                                   ' title="' . htmlspecialchars($lang->getLL('grid_removeColumn')) . '">';
107
-        $html[] =                                   '<i class="fa fa-fw fa-minus"></i>';
108
-        $html[] =                               '</a>';
109
-        $html[] =                           '</div>';
110
-        $html[] =                       '</td>';
111
-        $html[] =                   '</tr>';
112
-        $html[] =                   '<tr>';
113
-        $html[] =                       '<td colspan="2" align="center">';
114
-        $html[] =                           '<div class="btn-group">';
115
-        $html[] =                               '<a class="btn btn-default btn-sm t3js-grideditor-addrow-bottom" href="#"';
116
-        $html[] =                                   ' title="' . htmlspecialchars($lang->getLL('grid_addRow')) . '">';
117
-        $html[] =                                   '<i class="fa fa-fw fa-plus"></i>';
118
-        $html[] =                               '</a>';
119
-        $html[] =                               '<a class="btn btn-default btn-sm t3js-grideditor-removerow-bottom" href="#"';
120
-        $html[] =                                   ' title="' . htmlspecialchars($lang->getLL('grid_removeRow')) . '">';
121
-        $html[] =                                   '<i class="fa fa-fw fa-minus"></i>';
122
-        $html[] =                               '</a>';
123
-        $html[] =                           '</div>';
124
-        $html[] =                       '</td>';
125
-        $html[] =                   '</tr>';
126
-        $html[] =                   '<tr>';
127
-        $html[] =                       '<td colspan="2">';
128
-        $html[] =                           '<a href="#" class="btn btn-default btn-sm t3js-grideditor-preview-button"></a>';
129
-        $html[] =                           '<pre class="t3js-grideditor-preview-config grideditor-preview"><code></code></pre>';
130
-        $html[] =                       '</td>';
131
-        $html[] =                   '</tr>';
132
-        $html[] =               '</table>';
133
-        $html[] =           '</div>';
63
+        $html[] = $fieldInformationHtml;
64
+        $html[] = '<div class="form-control-wrap">';
65
+        $html[] = '<div class="form-wizards-wrap">';
66
+        $html[] = '<div class="form-wizards-element">';
67
+        $html[] = '<input';
68
+        $html[] = ' type="hidden"';
69
+        $html[] = ' name="' . htmlspecialchars($this->data['parameterArray']['itemFormElName']) . '"';
70
+        $html[] = ' value="' . htmlspecialchars($this->data['parameterArray']['itemFormElValue']) . '"';
71
+        $html[] = '/>';
72
+        $html[] = '<table class="grideditor table table-bordered">';
73
+        $html[] = '<tr>';
74
+        $html[] = '<td colspan="2" align="center">';
75
+        $html[] = '<div class="btn-group">';
76
+        $html[] = '<a class="btn btn-default btn-sm t3js-grideditor-removerow-top" href="#"';
77
+        $html[] = ' title="' . htmlspecialchars($lang->getLL('grid_removeRow')) . '">';
78
+        $html[] = '<i class="fa fa-fw fa-minus"></i>';
79
+        $html[] = '</a>';
80
+        $html[] = '<a class="btn btn-default btn-sm t3js-grideditor-addrow-top" href="#"';
81
+        $html[] = ' title="' . htmlspecialchars($lang->getLL('grid_addRow')) . '">';
82
+        $html[] = '<i class="fa fa-fw fa-plus"></i>';
83
+        $html[] = '</a>';
84
+        $html[] = '</div>';
85
+        $html[] = '</td>';
86
+        $html[] = '</tr>';
87
+        $html[] = '<tr>';
88
+        $html[] = '<td class="editor_cell">';
89
+        $html[] = '<div';
90
+        $html[] = ' id="editor"';
91
+        $html[] = ' class="t3js-grideditor"';
92
+        $html[] = ' data-data="' . htmlspecialchars($json) . '"';
93
+        $html[] = ' data-rowcount="' . (int)$this->rowCount . '"';
94
+        $html[] = ' data-colcount="' . (int)$this->colCount . '"';
95
+        $html[] = ' data-field="' . htmlspecialchars($this->data['parameterArray']['itemFormElName']) . '"';
96
+        $html[] = '>';
97
+        $html[] = '</div>';
98
+        $html[] = '</td>';
99
+        $html[] = '<td>';
100
+        $html[] = '<div class="btn-group-vertical">';
101
+        $html[] = '<a class="btn btn-default btn-sm t3js-grideditor-addcolumn" href="#"';
102
+        $html[] = ' title="' . htmlspecialchars($lang->getLL('grid_addColumn')) . '">';
103
+        $html[] = '<i class="fa fa-fw fa-plus"></i>';
104
+        $html[] = '</a>';
105
+        $html[] = '<a class="btn btn-default btn-sm t3js-grideditor-removecolumn" href="#"';
106
+        $html[] = ' title="' . htmlspecialchars($lang->getLL('grid_removeColumn')) . '">';
107
+        $html[] = '<i class="fa fa-fw fa-minus"></i>';
108
+        $html[] = '</a>';
109
+        $html[] = '</div>';
110
+        $html[] = '</td>';
111
+        $html[] = '</tr>';
112
+        $html[] = '<tr>';
113
+        $html[] = '<td colspan="2" align="center">';
114
+        $html[] = '<div class="btn-group">';
115
+        $html[] = '<a class="btn btn-default btn-sm t3js-grideditor-addrow-bottom" href="#"';
116
+        $html[] = ' title="' . htmlspecialchars($lang->getLL('grid_addRow')) . '">';
117
+        $html[] = '<i class="fa fa-fw fa-plus"></i>';
118
+        $html[] = '</a>';
119
+        $html[] = '<a class="btn btn-default btn-sm t3js-grideditor-removerow-bottom" href="#"';
120
+        $html[] = ' title="' . htmlspecialchars($lang->getLL('grid_removeRow')) . '">';
121
+        $html[] = '<i class="fa fa-fw fa-minus"></i>';
122
+        $html[] = '</a>';
123
+        $html[] = '</div>';
124
+        $html[] = '</td>';
125
+        $html[] = '</tr>';
126
+        $html[] = '<tr>';
127
+        $html[] = '<td colspan="2">';
128
+        $html[] = '<a href="#" class="btn btn-default btn-sm t3js-grideditor-preview-button"></a>';
129
+        $html[] = '<pre class="t3js-grideditor-preview-config grideditor-preview"><code></code></pre>';
130
+        $html[] = '</td>';
131
+        $html[] = '</tr>';
132
+        $html[] = '</table>';
133
+        $html[] = '</div>';
134 134
         if (!empty($fieldWizardHtml)) {
135 135
             $html[] = '<div class="form-wizards-items-bottom">';
136 136
             $html[] = $fieldWizardHtml;
137 137
             $html[] = '</div>';
138 138
         }
139
-        $html[] =       '</div>';
140
-        $html[] =   '</div>';
139
+        $html[] = '</div>';
140
+        $html[] = '</div>';
141 141
         $html[] = '</div>';
142 142
 
143 143
         $html = implode(LF, $html);
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Element/SelectTreeElement.php 1 patch
Spacing   +35 added lines, -35 removed lines patch added patch discarded remove patch
@@ -140,43 +140,43 @@
 block discarded – undo
140 140
         $html = [];
141 141
         $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
142 142
         $html[] = $fieldInformationHtml;
143
-        $html[] =   '<div class="form-control-wrap">';
144
-        $html[] =       '<div class="form-wizards-wrap">';
145
-        $html[] =           '<div class="form-wizards-element">';
146
-        $html[] =               '<div class="typo3-tceforms-tree">';
147
-        $html[] =                   '<input class="treeRecord" type="hidden" id="' . htmlspecialchars($fieldId) . '"';
148
-        $html[] =                       ' data-formengine-validation-rules="' . htmlspecialchars($this->getValidationDataAsJsonString($config)) . '"';
149
-        $html[] =                       ' data-relatedfieldname="' . htmlspecialchars($parameterArray['itemFormElName']) . '"';
150
-        $html[] =                       ' data-tablename="' . htmlspecialchars($this->data['tableName']) . '"';
151
-        $html[] =                       ' data-fieldname="' . htmlspecialchars($this->data['fieldName']) . '"';
152
-        $html[] =                       ' data-uid="' . (int)$this->data['vanillaUid'] . '"';
153
-        $html[] =                       ' data-recordtypevalue="' . htmlspecialchars($this->data['recordTypeValue']) . '"';
154
-        $html[] =                       ' data-datastructureidentifier="' . htmlspecialchars($dataStructureIdentifier) . '"';
155
-        $html[] =                       ' data-flexformsheetname="' . htmlspecialchars($flexFormSheetName) . '"';
156
-        $html[] =                       ' data-flexformfieldname="' . htmlspecialchars($flexFormFieldName) . '"';
157
-        $html[] =                       ' data-flexformcontainername="' . htmlspecialchars($flexFormContainerName) . '"';
158
-        $html[] =                       ' data-flexformcontaineridentifier="' . htmlspecialchars($flexFormContainerIdentifier) . '"';
159
-        $html[] =                       ' data-flexformcontainerfieldname="' . htmlspecialchars($flexFormContainerFieldName) . '"';
160
-        $html[] =                       ' data-flexformsectioncontainerisnew="' . htmlspecialchars((string)$flexFormSectionContainerIsNew) . '"';
161
-        $html[] =                       ' data-command="' . htmlspecialchars($this->data['command']) . '"';
162
-        $html[] =                       ' data-read-only="' . $readOnly . '"';
163
-        $html[] =                       ' data-tree-exclusive-keys="' . htmlspecialchars($exclusiveKeys) . '"';
164
-        $html[] =                       ' data-tree-expand-up-to-level="' . ($expanded ? '999' : '1') . '"';
165
-        $html[] =                       ' data-tree-show-toolbar="' . $showHeader . '"';
166
-        $html[] =                       ' name="' . htmlspecialchars($parameterArray['itemFormElName']) . '"';
167
-        $html[] =                       ' id="treeinput' . $formElementId . '"';
168
-        $html[] =                       ' value="' . htmlspecialchars(implode(',', $parameterArray['itemFormElValue'])) . '"';
169
-        $html[] =                   '/>';
170
-        $html[] =               '</div>';
171
-        $html[] =               '<div id="' . $treeWrapperId . '" class="svg-tree-wrapper" style="height: ' . $heightInPx . 'px;"></div>';
172
-        $html[] =           '</div>';
143
+        $html[] = '<div class="form-control-wrap">';
144
+        $html[] = '<div class="form-wizards-wrap">';
145
+        $html[] = '<div class="form-wizards-element">';
146
+        $html[] = '<div class="typo3-tceforms-tree">';
147
+        $html[] = '<input class="treeRecord" type="hidden" id="' . htmlspecialchars($fieldId) . '"';
148
+        $html[] = ' data-formengine-validation-rules="' . htmlspecialchars($this->getValidationDataAsJsonString($config)) . '"';
149
+        $html[] = ' data-relatedfieldname="' . htmlspecialchars($parameterArray['itemFormElName']) . '"';
150
+        $html[] = ' data-tablename="' . htmlspecialchars($this->data['tableName']) . '"';
151
+        $html[] = ' data-fieldname="' . htmlspecialchars($this->data['fieldName']) . '"';
152
+        $html[] = ' data-uid="' . (int)$this->data['vanillaUid'] . '"';
153
+        $html[] = ' data-recordtypevalue="' . htmlspecialchars($this->data['recordTypeValue']) . '"';
154
+        $html[] = ' data-datastructureidentifier="' . htmlspecialchars($dataStructureIdentifier) . '"';
155
+        $html[] = ' data-flexformsheetname="' . htmlspecialchars($flexFormSheetName) . '"';
156
+        $html[] = ' data-flexformfieldname="' . htmlspecialchars($flexFormFieldName) . '"';
157
+        $html[] = ' data-flexformcontainername="' . htmlspecialchars($flexFormContainerName) . '"';
158
+        $html[] = ' data-flexformcontaineridentifier="' . htmlspecialchars($flexFormContainerIdentifier) . '"';
159
+        $html[] = ' data-flexformcontainerfieldname="' . htmlspecialchars($flexFormContainerFieldName) . '"';
160
+        $html[] = ' data-flexformsectioncontainerisnew="' . htmlspecialchars((string)$flexFormSectionContainerIsNew) . '"';
161
+        $html[] = ' data-command="' . htmlspecialchars($this->data['command']) . '"';
162
+        $html[] = ' data-read-only="' . $readOnly . '"';
163
+        $html[] = ' data-tree-exclusive-keys="' . htmlspecialchars($exclusiveKeys) . '"';
164
+        $html[] = ' data-tree-expand-up-to-level="' . ($expanded ? '999' : '1') . '"';
165
+        $html[] = ' data-tree-show-toolbar="' . $showHeader . '"';
166
+        $html[] = ' name="' . htmlspecialchars($parameterArray['itemFormElName']) . '"';
167
+        $html[] = ' id="treeinput' . $formElementId . '"';
168
+        $html[] = ' value="' . htmlspecialchars(implode(',', $parameterArray['itemFormElValue'])) . '"';
169
+        $html[] = '/>';
170
+        $html[] = '</div>';
171
+        $html[] = '<div id="' . $treeWrapperId . '" class="svg-tree-wrapper" style="height: ' . $heightInPx . 'px;"></div>';
172
+        $html[] = '</div>';
173 173
         if ($readOnly === 'false' && !empty($fieldWizardHtml)) {
174
-            $html[] =       '<div class="form-wizards-items-bottom">';
175
-            $html[] =           $fieldWizardHtml;
176
-            $html[] =       '</div>';
174
+            $html[] = '<div class="form-wizards-items-bottom">';
175
+            $html[] = $fieldWizardHtml;
176
+            $html[] = '</div>';
177 177
         }
178
-        $html[] =       '</div>';
179
-        $html[] =   '</div>';
178
+        $html[] = '</div>';
179
+        $html[] = '</div>';
180 180
         $html[] = '</div>';
181 181
 
182 182
         $resultArray['html'] = implode(LF, $html);
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/FieldWizard/OtherLanguageContent.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -72,8 +72,8 @@  discard block
 block discarded – undo
72 72
         if ($defaultLanguageValue !== '') {
73 73
             $iconIdentifier = $this->data['systemLanguageRows'][0]['flagIconIdentifier'] ?: 'flags-multiple';
74 74
             $html[] = '<div class="t3-form-original-language">';
75
-            $html[] =   $iconFactory->getIcon($iconIdentifier, Icon::SIZE_SMALL)->render();
76
-            $html[] =   $this->previewFieldValue($defaultLanguageValue);
75
+            $html[] = $iconFactory->getIcon($iconIdentifier, Icon::SIZE_SMALL)->render();
76
+            $html[] = $this->previewFieldValue($defaultLanguageValue);
77 77
             $html[] = '</div>';
78 78
         }
79 79
         $additionalPreviewLanguages = $this->data['additionalLanguageRows'];
@@ -87,8 +87,8 @@  discard block
 block discarded – undo
87 87
             ) ?? '';
88 88
             if ($defaultLanguageValue !== '') {
89 89
                 $html[] = '<div class="t3-form-original-language">';
90
-                $html[] =   $iconFactory->getIcon($this->data['systemLanguageRows'][$previewLanguage['sys_language_uid']]['flagIconIdentifier'], Icon::SIZE_SMALL)->render();
91
-                $html[] =   $this->previewFieldValue($defaultLanguageValue);
90
+                $html[] = $iconFactory->getIcon($this->data['systemLanguageRows'][$previewLanguage['sys_language_uid']]['flagIconIdentifier'], Icon::SIZE_SMALL)->render();
91
+                $html[] = $this->previewFieldValue($defaultLanguageValue);
92 92
                 $html[] = '</div>';
93 93
             }
94 94
         }
Please login to merge, or discard this patch.
sysext/backend/Classes/Form/FieldWizard/DefaultLanguageDifferences.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -70,17 +70,17 @@
 block discarded – undo
70 70
                 BackendUtility::getProcessedValue($table, $fieldName, $defaultLanguageRow[$fieldName], 0, true)
71 71
             );
72 72
             $html[] = '<div class="t3-form-original-language-diff">';
73
-            $html[] =   '<div class="t3-form-original-language-diffheader">';
74
-            $html[] =       htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.changeInOrig'));
75
-            $html[] =   '</div>';
76
-            $html[] =   '<div class="t3-form-original-language-diffcontent">';
77
-            $html[] =       '<div class="diff">';
78
-            $html[] =           '<div class="diff-item">';
79
-            $html[] =               '<div class="diff-item-result diff-item-result-inline">' . $diffResult . '</div>';
80
-            $html[] =           '</div>';
81
-            $html[] =       '</div>';
82
-            $html[] =   '</div>';
83
-            $html[] =  '</div>';
73
+            $html[] = '<div class="t3-form-original-language-diffheader">';
74
+            $html[] = htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.changeInOrig'));
75
+            $html[] = '</div>';
76
+            $html[] = '<div class="t3-form-original-language-diffcontent">';
77
+            $html[] = '<div class="diff">';
78
+            $html[] = '<div class="diff-item">';
79
+            $html[] = '<div class="diff-item-result diff-item-result-inline">' . $diffResult . '</div>';
80
+            $html[] = '</div>';
81
+            $html[] = '</div>';
82
+            $html[] = '</div>';
83
+            $html[] = '</div>';
84 84
         }
85 85
         $result['html'] = implode(LF, $html);
86 86
         return $result;
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/NodeExpansion/FieldControl.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -128,9 +128,9 @@
 block discarded – undo
128 128
 
129 129
             $html = [];
130 130
             $html[] = '<a ' . GeneralUtility::implodeAttributes($linkAttributes, true) . '>';
131
-            $html[] =   '<span title="' . htmlspecialchars($title) . '">';
132
-            $html[] =       $iconFactory->getIcon($icon, Icon::SIZE_SMALL)->render();
133
-            $html[] =   '</span>';
131
+            $html[] = '<span title="' . htmlspecialchars($title) . '">';
132
+            $html[] = $iconFactory->getIcon($icon, Icon::SIZE_SMALL)->render();
133
+            $html[] = '</span>';
134 134
             $html[] = '</a>';
135 135
 
136 136
             $finalControlResult = $this->initializeResultArray();
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Database/RelationHandler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -488,7 +488,7 @@  discard block
 block discarded – undo
488 488
         if ($sortby === 'uid') {
489 489
             usort(
490 490
                 $this->itemArray,
491
-                function ($a, $b) {
491
+                function($a, $b) {
492 492
                     return $a['id'] < $b['id'] ? -1 : 1;
493 493
                 }
494 494
             );
@@ -1439,7 +1439,7 @@  discard block
 block discarded – undo
1439 1439
             }
1440 1440
 
1441 1441
             $purgedItemIds = [];
1442
-            $callable =[$this, $purgeCallback];
1442
+            $callable = [$this, $purgeCallback];
1443 1443
             if (is_callable($callable)) {
1444 1444
                 $purgedItemIds = call_user_func($callable, $itemTableName, $itemIds);
1445 1445
             }
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Database/Schema/ConnectionMigrator.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
                 // Ignore new indexes that work on columns that need changes
163 163
                 foreach ($changedTable->addedIndexes as $indexName => $addedIndex) {
164 164
                     $indexColumns = array_map(
165
-                        function ($columnName) {
165
+                        function($columnName) {
166 166
                             // Strip MySQL prefix length information to get real column names
167 167
                             $columnName = preg_replace('/\(\d+\)$/', '', $columnName) ?? '';
168 168
                             // Strip mssql '[' and ']' from column names
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
         $tablesForConnection = array_keys(
257 257
             array_filter(
258 258
                 $GLOBALS['TYPO3_CONF_VARS']['DB']['TableMapping'],
259
-                function ($tableConnectionName) use ($connectionName) {
259
+                function($tableConnectionName) use ($connectionName) {
260 260
                     return $tableConnectionName === $connectionName;
261 261
                 }
262 262
             )
@@ -1096,7 +1096,7 @@  discard block
 block discarded – undo
1096 1096
     {
1097 1097
         return array_filter(
1098 1098
             $tableDiffs,
1099
-            function ($table) use ($validTableNames) {
1099
+            function($table) use ($validTableNames) {
1100 1100
                 if ($table instanceof Table) {
1101 1101
                     $tableName = $table->getName();
1102 1102
                 } else {
@@ -1141,7 +1141,7 @@  discard block
 block discarded – undo
1141 1141
 
1142 1142
                 // Remove the length information from column names for indexes if required.
1143 1143
                 $cleanedColumnNames = array_map(
1144
-                    function (string $columnName) use ($connection) {
1144
+                    function(string $columnName) use ($connection) {
1145 1145
                         if ($connection->getDatabasePlatform() instanceof MySqlPlatform) {
1146 1146
                             // Returning the unquoted, unmodified version of the column name since
1147 1147
                             // it can include the length information for BLOB/TEXT columns which
Please login to merge, or discard this patch.
Classes/Database/Schema/EventListener/SchemaColumnDefinitionListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
         $values = explode($quoteChar . ',' . $quoteChar, substr($valuesDefinition, 1, -1)) ?: [];
120 120
 
121 121
         return array_map(
122
-            function (string $value) use ($quoteChar) {
122
+            function(string $value) use ($quoteChar) {
123 123
                 return str_replace($quoteChar . $quoteChar, $quoteChar, $value);
124 124
             },
125 125
             $values
Please login to merge, or discard this patch.