Completed
Push — master ( af32df...1507bf )
by
unknown
21:00
created
sysext/backend/Classes/View/Wizard/Element/BackendLayoutWizardElement.php 1 patch
Spacing   +76 added lines, -76 removed lines patch added patch discarded remove patch
@@ -58,82 +58,82 @@
 block discarded – undo
58 58
         $json = json_encode($this->rows, JSON_HEX_QUOT | JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS);
59 59
         $html = [];
60 60
         $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
61
-        $html[] =   $fieldInformationHtml;
62
-        $html[] =   '<div class="form-control-wrap">';
63
-        $html[] =       '<div class="form-wizards-wrap">';
64
-        $html[] =           '<div class="form-wizards-element">';
65
-        $html[] =               '<input';
66
-        $html[] =                   ' type="hidden"';
67
-        $html[] =                   ' name="' . htmlspecialchars($this->data['parameterArray']['itemFormElName']) . '"';
68
-        $html[] =                   ' value="' . htmlspecialchars($this->data['parameterArray']['itemFormElValue']) . '"';
69
-        $html[] =                   '/>';
70
-        $html[] =               '<table class="grideditor table table-bordered">';
71
-        $html[] =                   '<tr>';
72
-        $html[] =                       '<td colspan="2" align="center">';
73
-        $html[] =                           '<div class="btn-group">';
74
-        $html[] =                               '<a class="btn btn-default btn-sm t3js-grideditor-removerow-top" href="#"';
75
-        $html[] =                                   ' title="' . htmlspecialchars($lang->getLL('grid_removeRow')) . '">';
76
-        $html[] =                                   '<i class="fa fa-fw fa-arrow-down"></i>';
77
-        $html[] =                               '</a>';
78
-        $html[] =                               '<a class="btn btn-default btn-sm t3js-grideditor-addrow-top" href="#"';
79
-        $html[] =                                   ' title="' . htmlspecialchars($lang->getLL('grid_addRow')) . '">';
80
-        $html[] =                                   '<i class="fa fa-fw fa-arrow-up"></i>';
81
-        $html[] =                               '</a>';
82
-        $html[] =                           '</div>';
83
-        $html[] =                       '</td>';
84
-        $html[] =                   '</tr>';
85
-        $html[] =                   '<tr>';
86
-        $html[] =                       '<td class="editor_cell">';
87
-        $html[] =                           '<div';
88
-        $html[] =                               ' id="editor"';
89
-        $html[] =                               ' class="t3js-grideditor"';
90
-        $html[] =                               ' data-data="' . htmlspecialchars($json) . '"';
91
-        $html[] =                               ' data-rowcount="' . (int)$this->rowCount . '"';
92
-        $html[] =                               ' data-colcount="' . (int)$this->colCount . '"';
93
-        $html[] =                               ' data-field="' . htmlspecialchars($this->data['parameterArray']['itemFormElName']) . '"';
94
-        $html[] =                           '>';
95
-        $html[] =                           '</div>';
96
-        $html[] =                       '</td>';
97
-        $html[] =                       '<td>';
98
-        $html[] =                           '<div class="btn-group-vertical">';
99
-        $html[] =                               '<a class="btn btn-default btn-sm t3js-grideditor-addcolumn" href="#"';
100
-        $html[] =                                   ' title="' . htmlspecialchars($lang->getLL('grid_addColumn')) . '">';
101
-        $html[] =                                   '<i class="fa fa-fw fa-arrow-right"></i>';
102
-        $html[] =                               '</a>';
103
-        $html[] =                               '<a class="btn btn-default btn-sm t3js-grideditor-removecolumn" href="#"';
104
-        $html[] =                                   ' title="' . htmlspecialchars($lang->getLL('grid_removeColumn')) . '">';
105
-        $html[] =                                   '<i class="fa fa-fw fa-arrow-left"></i>';
106
-        $html[] =                               '</a>';
107
-        $html[] =                           '</div>';
108
-        $html[] =                       '</td>';
109
-        $html[] =                   '</tr>';
110
-        $html[] =                   '<tr>';
111
-        $html[] =                       '<td colspan="2" align="center">';
112
-        $html[] =                           '<div class="btn-group">';
113
-        $html[] =                               '<a class="btn btn-default btn-sm t3js-grideditor-addrow-bottom" href="#"';
114
-        $html[] =                                   ' title="' . htmlspecialchars($lang->getLL('grid_addRow')) . '">';
115
-        $html[] =                                   '<i class="fa fa-fw fa-arrow-down"></i>';
116
-        $html[] =                               '</a>';
117
-        $html[] =                               '<a class="btn btn-default btn-sm t3js-grideditor-removerow-bottom" href="#"';
118
-        $html[] =                                   ' title="' . htmlspecialchars($lang->getLL('grid_removeRow')) . '">';
119
-        $html[] =                                   '<i class="fa fa-fw fa-arrow-up"></i>';
120
-        $html[] =                               '</a>';
121
-        $html[] =                           '</div>';
122
-        $html[] =                       '</td>';
123
-        $html[] =                   '</tr>';
124
-        $html[] =                   '<tr>';
125
-        $html[] =                       '<td colspan="2">';
126
-        $html[] =                           '<a href="#" class="btn btn-default btn-sm t3js-grideditor-preview-button"></a>';
127
-        $html[] =                           '<pre class="t3js-grideditor-preview-config grideditor-preview"><code></code></pre>';
128
-        $html[] =                       '</td>';
129
-        $html[] =                   '</tr>';
130
-        $html[] =               '</table>';
131
-        $html[] =           '</div>';
132
-        $html[] =           '<div class="form-wizards-items-bottom">';
133
-        $html[] =               $fieldWizardHtml;
134
-        $html[] =           '</div>';
135
-        $html[] =       '</div>';
136
-        $html[] =   '</div>';
61
+        $html[] = $fieldInformationHtml;
62
+        $html[] = '<div class="form-control-wrap">';
63
+        $html[] = '<div class="form-wizards-wrap">';
64
+        $html[] = '<div class="form-wizards-element">';
65
+        $html[] = '<input';
66
+        $html[] = ' type="hidden"';
67
+        $html[] = ' name="' . htmlspecialchars($this->data['parameterArray']['itemFormElName']) . '"';
68
+        $html[] = ' value="' . htmlspecialchars($this->data['parameterArray']['itemFormElValue']) . '"';
69
+        $html[] = '/>';
70
+        $html[] = '<table class="grideditor table table-bordered">';
71
+        $html[] = '<tr>';
72
+        $html[] = '<td colspan="2" align="center">';
73
+        $html[] = '<div class="btn-group">';
74
+        $html[] = '<a class="btn btn-default btn-sm t3js-grideditor-removerow-top" href="#"';
75
+        $html[] = ' title="' . htmlspecialchars($lang->getLL('grid_removeRow')) . '">';
76
+        $html[] = '<i class="fa fa-fw fa-arrow-down"></i>';
77
+        $html[] = '</a>';
78
+        $html[] = '<a class="btn btn-default btn-sm t3js-grideditor-addrow-top" href="#"';
79
+        $html[] = ' title="' . htmlspecialchars($lang->getLL('grid_addRow')) . '">';
80
+        $html[] = '<i class="fa fa-fw fa-arrow-up"></i>';
81
+        $html[] = '</a>';
82
+        $html[] = '</div>';
83
+        $html[] = '</td>';
84
+        $html[] = '</tr>';
85
+        $html[] = '<tr>';
86
+        $html[] = '<td class="editor_cell">';
87
+        $html[] = '<div';
88
+        $html[] = ' id="editor"';
89
+        $html[] = ' class="t3js-grideditor"';
90
+        $html[] = ' data-data="' . htmlspecialchars($json) . '"';
91
+        $html[] = ' data-rowcount="' . (int)$this->rowCount . '"';
92
+        $html[] = ' data-colcount="' . (int)$this->colCount . '"';
93
+        $html[] = ' data-field="' . htmlspecialchars($this->data['parameterArray']['itemFormElName']) . '"';
94
+        $html[] = '>';
95
+        $html[] = '</div>';
96
+        $html[] = '</td>';
97
+        $html[] = '<td>';
98
+        $html[] = '<div class="btn-group-vertical">';
99
+        $html[] = '<a class="btn btn-default btn-sm t3js-grideditor-addcolumn" href="#"';
100
+        $html[] = ' title="' . htmlspecialchars($lang->getLL('grid_addColumn')) . '">';
101
+        $html[] = '<i class="fa fa-fw fa-arrow-right"></i>';
102
+        $html[] = '</a>';
103
+        $html[] = '<a class="btn btn-default btn-sm t3js-grideditor-removecolumn" href="#"';
104
+        $html[] = ' title="' . htmlspecialchars($lang->getLL('grid_removeColumn')) . '">';
105
+        $html[] = '<i class="fa fa-fw fa-arrow-left"></i>';
106
+        $html[] = '</a>';
107
+        $html[] = '</div>';
108
+        $html[] = '</td>';
109
+        $html[] = '</tr>';
110
+        $html[] = '<tr>';
111
+        $html[] = '<td colspan="2" align="center">';
112
+        $html[] = '<div class="btn-group">';
113
+        $html[] = '<a class="btn btn-default btn-sm t3js-grideditor-addrow-bottom" href="#"';
114
+        $html[] = ' title="' . htmlspecialchars($lang->getLL('grid_addRow')) . '">';
115
+        $html[] = '<i class="fa fa-fw fa-arrow-down"></i>';
116
+        $html[] = '</a>';
117
+        $html[] = '<a class="btn btn-default btn-sm t3js-grideditor-removerow-bottom" href="#"';
118
+        $html[] = ' title="' . htmlspecialchars($lang->getLL('grid_removeRow')) . '">';
119
+        $html[] = '<i class="fa fa-fw fa-arrow-up"></i>';
120
+        $html[] = '</a>';
121
+        $html[] = '</div>';
122
+        $html[] = '</td>';
123
+        $html[] = '</tr>';
124
+        $html[] = '<tr>';
125
+        $html[] = '<td colspan="2">';
126
+        $html[] = '<a href="#" class="btn btn-default btn-sm t3js-grideditor-preview-button"></a>';
127
+        $html[] = '<pre class="t3js-grideditor-preview-config grideditor-preview"><code></code></pre>';
128
+        $html[] = '</td>';
129
+        $html[] = '</tr>';
130
+        $html[] = '</table>';
131
+        $html[] = '</div>';
132
+        $html[] = '<div class="form-wizards-items-bottom">';
133
+        $html[] = $fieldWizardHtml;
134
+        $html[] = '</div>';
135
+        $html[] = '</div>';
136
+        $html[] = '</div>';
137 137
         $html[] = '</div>';
138 138
 
139 139
         $html = implode(LF, $html);
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Element/TextTableElement.php 1 patch
Spacing   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -102,15 +102,15 @@  discard block
 block discarded – undo
102 102
         if ($config['readOnly']) {
103 103
             $html = [];
104 104
             $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
105
-            $html[] =   '<div class="form-wizards-wrap">';
106
-            $html[] =       '<div class="form-wizards-element">';
107
-            $html[] =           '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
108
-            $html[] =               '<textarea class="form-control" rows="' . $rows . '" disabled>';
109
-            $html[] =                   htmlspecialchars($itemValue);
110
-            $html[] =               '</textarea>';
111
-            $html[] =           '</div>';
112
-            $html[] =       '</div>';
113
-            $html[] =   '</div>';
105
+            $html[] = '<div class="form-wizards-wrap">';
106
+            $html[] = '<div class="form-wizards-element">';
107
+            $html[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
108
+            $html[] = '<textarea class="form-control" rows="' . $rows . '" disabled>';
109
+            $html[] = htmlspecialchars($itemValue);
110
+            $html[] = '</textarea>';
111
+            $html[] = '</div>';
112
+            $html[] = '</div>';
113
+            $html[] = '</div>';
114 114
             $html[] = '</div>';
115 115
             $resultArray['html'] = implode(LF, $html);
116 116
             return $resultArray;
@@ -182,22 +182,22 @@  discard block
 block discarded – undo
182 182
 
183 183
         $html = [];
184 184
         $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
185
-        $html[] =   $fieldInformationHtml;
186
-        $html[] =   '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
187
-        $html[] =       '<div class="form-wizards-wrap">';
188
-        $html[] =           '<div class="form-wizards-element">';
189
-        $html[] =               '<textarea ' . GeneralUtility::implodeAttributes($attributes, true) . '>' . htmlspecialchars($itemValue) . '</textarea>';
190
-        $html[] =           '</div>';
191
-        $html[] =           '<div class="form-wizards-items-aside">';
192
-        $html[] =               '<div class="btn-group">';
193
-        $html[] =                   $fieldControlHtml;
194
-        $html[] =               '</div>';
195
-        $html[] =           '</div>';
196
-        $html[] =           '<div class="form-wizards-items-bottom">';
197
-        $html[] =               $fieldWizardHtml;
198
-        $html[] =           '</div>';
199
-        $html[] =       '</div>';
200
-        $html[] =   '</div>';
185
+        $html[] = $fieldInformationHtml;
186
+        $html[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
187
+        $html[] = '<div class="form-wizards-wrap">';
188
+        $html[] = '<div class="form-wizards-element">';
189
+        $html[] = '<textarea ' . GeneralUtility::implodeAttributes($attributes, true) . '>' . htmlspecialchars($itemValue) . '</textarea>';
190
+        $html[] = '</div>';
191
+        $html[] = '<div class="form-wizards-items-aside">';
192
+        $html[] = '<div class="btn-group">';
193
+        $html[] = $fieldControlHtml;
194
+        $html[] = '</div>';
195
+        $html[] = '</div>';
196
+        $html[] = '<div class="form-wizards-items-bottom">';
197
+        $html[] = $fieldWizardHtml;
198
+        $html[] = '</div>';
199
+        $html[] = '</div>';
200
+        $html[] = '</div>';
201 201
         $html[] = '</div>';
202 202
 
203 203
         $resultArray['html'] = implode(LF, $html);
Please login to merge, or discard this patch.
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2832,7 +2832,7 @@
 block discarded – undo
2832 2832
         $tempCommaReplacementString = '###KASPER###';
2833 2833
 
2834 2834
         // replace every "," wrapped in "()" by a "unique" string
2835
-        $string = preg_replace_callback('/\((?>[^()]|(?R))*\)/', function ($result) use ($tempCommaReplacementString) {
2835
+        $string = preg_replace_callback('/\((?>[^()]|(?R))*\)/', function($result) use ($tempCommaReplacementString) {
2836 2836
             return str_replace(',', $tempCommaReplacementString, $result[0]);
2837 2837
         }, $string);
2838 2838
 
Please login to merge, or discard this patch.
sysext/extbase/Classes/Validation/Validator/AbstractCompositeValidator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
         // check for required options being set
61 61
         array_walk(
62 62
             $this->supportedOptions,
63
-            function ($supportedOptionData, $supportedOptionName, $options) {
63
+            function($supportedOptionData, $supportedOptionName, $options) {
64 64
                 if (isset($supportedOptionData[3]) && !array_key_exists($supportedOptionName, $options)) {
65 65
                     throw new \TYPO3\CMS\Extbase\Validation\Exception\InvalidValidationOptionsException('Required validation option not set: ' . $supportedOptionName, 1339163922);
66 66
                 }
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
         // merge with default values
72 72
         $this->options = array_merge(
73 73
             array_map(
74
-                function ($value) {
74
+                function($value) {
75 75
                     return $value[0];
76 76
                 },
77 77
                 $this->supportedOptions
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/History/RecordHistory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -361,7 +361,7 @@
 block discarded – undo
361 361
                 }
362 362
             }
363 363
         }
364
-        usort($changeLog, function ($a, $b) {
364
+        usort($changeLog, function($a, $b) {
365 365
             if ($a['tstamp'] < $b['tstamp']) {
366 366
                 return 1;
367 367
             }
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/DataHandling/Localization/State.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
         return array_keys(
84 84
             array_filter(
85 85
                 $GLOBALS['TCA'][$tableName]['columns'] ?? [],
86
-                function (array $fieldConfiguration) {
86
+                function(array $fieldConfiguration) {
87 87
                     return !empty(
88 88
                         $fieldConfiguration['config']
89 89
                             ['behaviour']['allowLanguageSynchronization']
@@ -291,7 +291,7 @@  discard block
 block discarded – undo
291 291
         }
292 292
         return array_filter(
293 293
             $fieldNames,
294
-            function ($fieldName) use ($desiredState) {
294
+            function($fieldName) use ($desiredState) {
295 295
                 return $this->states[$fieldName] === $desiredState;
296 296
             }
297 297
         );
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Backend/ToolbarItems/UserToolbarItem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
             }
97 97
 
98 98
             // Remove any item that is not an array (means, the stored uid is not available anymore)
99
-            $mostRecentUsers = array_filter($mostRecentUsers, function ($record) {
99
+            $mostRecentUsers = array_filter($mostRecentUsers, function($record) {
100 100
                 return is_array($record);
101 101
             });
102 102
 
Please login to merge, or discard this patch.
typo3/sysext/extbase/Classes/Validation/ValidatorResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@
 block discarded – undo
188 188
 
189 189
         if ($methodValidateAnnotations === null) {
190 190
             $validateAnnotations = $this->getMethodValidateAnnotations($className, $methodName);
191
-            $methodValidateAnnotations = array_map(function ($validateAnnotation) {
191
+            $methodValidateAnnotations = array_map(function($validateAnnotation) {
192 192
                 return [
193 193
                     'type' => $validateAnnotation['validatorName'],
194 194
                     'options' => $validateAnnotation['validatorOptions'],
Please login to merge, or discard this patch.
typo3/sysext/filelist/Classes/FileList.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1017,7 +1017,7 @@
 block discarded – undo
1017 1017
         $out = '';
1018 1018
         // first two keys are "0" (default) and "-1" (multiple), after that comes the "other languages"
1019 1019
         $allSystemLanguages = GeneralUtility::makeInstance(TranslationConfigurationProvider::class)->getSystemLanguages();
1020
-        $systemLanguages = array_filter($allSystemLanguages, function ($languageRecord) {
1020
+        $systemLanguages = array_filter($allSystemLanguages, function($languageRecord) {
1021 1021
             if ($languageRecord['uid'] === -1 || $languageRecord['uid'] === 0 || !$this->getBackendUser()->checkLanguageAccess($languageRecord['uid'])) {
1022 1022
                 return false;
1023 1023
             }
Please login to merge, or discard this patch.