Passed
Push — master ( a3c3e9...b28ab0 )
by
unknown
16:13
created
typo3/sysext/backend/Classes/Form/Element/InputDateTimeElement.php 1 patch
Spacing   +40 added lines, -40 removed lines patch added patch discarded remove patch
@@ -117,14 +117,14 @@  discard block
 block discarded – undo
117 117
             $itemValue = $this->formatValue($format, $itemValue);
118 118
             $html = [];
119 119
             $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
120
-            $html[] =   $fieldInformationHtml;
121
-            $html[] =   '<div class="form-wizards-wrap">';
122
-            $html[] =       '<div class="form-wizards-element">';
123
-            $html[] =           '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
124
-            $html[] =               '<input class="form-control" value="' . htmlspecialchars($itemValue) . '" type="text" disabled>';
125
-            $html[] =           '</div>';
126
-            $html[] =       '</div>';
127
-            $html[] =   '</div>';
120
+            $html[] = $fieldInformationHtml;
121
+            $html[] = '<div class="form-wizards-wrap">';
122
+            $html[] = '<div class="form-wizards-element">';
123
+            $html[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
124
+            $html[] = '<input class="form-control" value="' . htmlspecialchars($itemValue) . '" type="text" disabled>';
125
+            $html[] = '</div>';
126
+            $html[] = '</div>';
127
+            $html[] = '</div>';
128 128
             $html[] = '</div>';
129 129
             $resultArray['html'] = implode(LF, $html);
130 130
             return $resultArray;
@@ -193,31 +193,31 @@  discard block
 block discarded – undo
193 193
 
194 194
         $expansionHtml = [];
195 195
         $expansionHtml[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
196
-        $expansionHtml[] =  '<div class="form-wizards-wrap">';
197
-        $expansionHtml[] =      '<div class="form-wizards-element">';
198
-        $expansionHtml[] =          '<div class="input-group">';
199
-        $expansionHtml[] =              '<input type="text" ' . GeneralUtility::implodeAttributes($attributes, true) . ' />';
200
-        $expansionHtml[] =              '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars($itemValue) . '" />';
201
-        $expansionHtml[] =              '<span class="input-group-btn">';
202
-        $expansionHtml[] =                  '<label class="btn btn-default" for="' . $attributes['id'] . '">';
203
-        $expansionHtml[] =                      $this->iconFactory->getIcon('actions-edit-pick-date', Icon::SIZE_SMALL)->render();
204
-        $expansionHtml[] =                  '</label>';
205
-        $expansionHtml[] =              '</span>';
206
-        $expansionHtml[] =          '</div>';
207
-        $expansionHtml[] =      '</div>';
196
+        $expansionHtml[] = '<div class="form-wizards-wrap">';
197
+        $expansionHtml[] = '<div class="form-wizards-element">';
198
+        $expansionHtml[] = '<div class="input-group">';
199
+        $expansionHtml[] = '<input type="text" ' . GeneralUtility::implodeAttributes($attributes, true) . ' />';
200
+        $expansionHtml[] = '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars($itemValue) . '" />';
201
+        $expansionHtml[] = '<span class="input-group-btn">';
202
+        $expansionHtml[] = '<label class="btn btn-default" for="' . $attributes['id'] . '">';
203
+        $expansionHtml[] = $this->iconFactory->getIcon('actions-edit-pick-date', Icon::SIZE_SMALL)->render();
204
+        $expansionHtml[] = '</label>';
205
+        $expansionHtml[] = '</span>';
206
+        $expansionHtml[] = '</div>';
207
+        $expansionHtml[] = '</div>';
208 208
         if (!empty($fieldControlHtml)) {
209
-            $expansionHtml[] =      '<div class="form-wizards-items-aside">';
210
-            $expansionHtml[] =          '<div class="btn-group">';
211
-            $expansionHtml[] =              $fieldControlHtml;
212
-            $expansionHtml[] =          '</div>';
213
-            $expansionHtml[] =      '</div>';
209
+            $expansionHtml[] = '<div class="form-wizards-items-aside">';
210
+            $expansionHtml[] = '<div class="btn-group">';
211
+            $expansionHtml[] = $fieldControlHtml;
212
+            $expansionHtml[] = '</div>';
213
+            $expansionHtml[] = '</div>';
214 214
         }
215 215
         if (!empty($fieldWizardHtml)) {
216 216
             $expansionHtml[] = '<div class="form-wizards-items-bottom">';
217 217
             $expansionHtml[] = $fieldWizardHtml;
218 218
             $expansionHtml[] = '</div>';
219 219
         }
220
-        $expansionHtml[] =  '</div>';
220
+        $expansionHtml[] = '</div>';
221 221
         $expansionHtml[] = '</div>';
222 222
         $expansionHtml = implode(LF, $expansionHtml);
223 223
 
@@ -227,11 +227,11 @@  discard block
 block discarded – undo
227 227
             $fullElement = [];
228 228
             $fullElement[] = '<div class="t3-form-field-disable"></div>';
229 229
             $fullElement[] = '<div class="form-check t3-form-field-eval-null-checkbox">';
230
-            $fullElement[] =     '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
231
-            $fullElement[] =     '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
232
-            $fullElement[] =     '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
233
-            $fullElement[] =         $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
234
-            $fullElement[] =     '</label>';
230
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
231
+            $fullElement[] = '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
232
+            $fullElement[] = '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
233
+            $fullElement[] = $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
234
+            $fullElement[] = '</label>';
235 235
             $fullElement[] = '</div>';
236 236
             $fullElement[] = $expansionHtml;
237 237
             $fullElement = implode(LF, $fullElement);
@@ -260,19 +260,19 @@  discard block
 block discarded – undo
260 260
             }
261 261
             $fullElement = [];
262 262
             $fullElement[] = '<div class="form-check t3js-form-field-eval-null-placeholder-checkbox">';
263
-            $fullElement[] =     '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
264
-            $fullElement[] =     '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
265
-            $fullElement[] =     '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
266
-            $fullElement[] =         $overrideLabel;
267
-            $fullElement[] =     '</label>';
263
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
264
+            $fullElement[] = '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
265
+            $fullElement[] = '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
266
+            $fullElement[] = $overrideLabel;
267
+            $fullElement[] = '</label>';
268 268
             $fullElement[] = '</div>';
269 269
             $fullElement[] = '<div class="t3js-formengine-placeholder-placeholder">';
270
-            $fullElement[] =    '<div class="form-control-wrap" style="max-width:' . $width . 'px">';
271
-            $fullElement[] =        '<input type="text" class="form-control" disabled="disabled" value="' . htmlspecialchars($shortenedPlaceholder) . '" />';
272
-            $fullElement[] =    '</div>';
270
+            $fullElement[] = '<div class="form-control-wrap" style="max-width:' . $width . 'px">';
271
+            $fullElement[] = '<input type="text" class="form-control" disabled="disabled" value="' . htmlspecialchars($shortenedPlaceholder) . '" />';
272
+            $fullElement[] = '</div>';
273 273
             $fullElement[] = '</div>';
274 274
             $fullElement[] = '<div class="t3js-formengine-placeholder-formfield">';
275
-            $fullElement[] =    $expansionHtml;
275
+            $fullElement[] = $expansionHtml;
276 276
             $fullElement[] = '</div>';
277 277
             $fullElement = implode(LF, $fullElement);
278 278
         }
Please login to merge, or discard this patch.
sysext/backend/Classes/Form/Element/UserSysFileStorageIsPublicElement.php 1 patch
Spacing   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -96,27 +96,27 @@
 block discarded – undo
96 96
         $html = [];
97 97
         $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
98 98
         $html[] = $fieldInformationHtml;
99
-        $html[] =   '<div class="form-wizards-wrap">';
100
-        $html[] =       '<div class="form-wizards-element">';
101
-        $html[] =           '<div class="form-check form-switch">';
102
-        $html[] =               '<input type="checkbox"';
103
-        $html[] =                   ' class="form-check-input"';
104
-        $html[] =                   ' value="1"';
105
-        $html[] =                   ' data-formengine-input-name="' . htmlspecialchars($parameterArray['itemFormElName'], ENT_QUOTES) . '"';
106
-        $html[] =                   ' id="' . htmlspecialchars($checkboxId, ENT_QUOTES) . '"';
107
-        $html[] =                   $checkboxParameters;
108
-        $html[] =                   $isPublic ? ' checked="checked"' : '';
109
-        $html[] =               '/>';
110
-        $html[] =               '<label class="form-check-label" for="' . htmlspecialchars($checkboxId, ENT_QUOTES) . '">';
111
-        $html[] =                   '<span class="form-check-label-text">' . $this->appendValueToLabelInDebugMode('&nbsp;', $isPublicAsString) . '</span>';
112
-        $html[] =               '</label>';
113
-        $html[] =               '<input type="hidden"';
114
-        $html[] =                   ' name="' . htmlspecialchars($parameterArray['itemFormElName'], ENT_QUOTES) . '"';
115
-        $html[] =                   ' value="' . $isPublicAsString . '"';
116
-        $html[] =               ' />';
117
-        $html[] =           '</div>';
118
-        $html[] =       '</div>';
119
-        $html[] =   '</div>';
99
+        $html[] = '<div class="form-wizards-wrap">';
100
+        $html[] = '<div class="form-wizards-element">';
101
+        $html[] = '<div class="form-check form-switch">';
102
+        $html[] = '<input type="checkbox"';
103
+        $html[] = ' class="form-check-input"';
104
+        $html[] = ' value="1"';
105
+        $html[] = ' data-formengine-input-name="' . htmlspecialchars($parameterArray['itemFormElName'], ENT_QUOTES) . '"';
106
+        $html[] = ' id="' . htmlspecialchars($checkboxId, ENT_QUOTES) . '"';
107
+        $html[] = $checkboxParameters;
108
+        $html[] = $isPublic ? ' checked="checked"' : '';
109
+        $html[] = '/>';
110
+        $html[] = '<label class="form-check-label" for="' . htmlspecialchars($checkboxId, ENT_QUOTES) . '">';
111
+        $html[] = '<span class="form-check-label-text">' . $this->appendValueToLabelInDebugMode('&nbsp;', $isPublicAsString) . '</span>';
112
+        $html[] = '</label>';
113
+        $html[] = '<input type="hidden"';
114
+        $html[] = ' name="' . htmlspecialchars($parameterArray['itemFormElName'], ENT_QUOTES) . '"';
115
+        $html[] = ' value="' . $isPublicAsString . '"';
116
+        $html[] = ' />';
117
+        $html[] = '</div>';
118
+        $html[] = '</div>';
119
+        $html[] = '</div>';
120 120
         $html[] = '</div>';
121 121
         $resultArray['html'] = implode(LF, $html);
122 122
         return $resultArray;
Please login to merge, or discard this patch.
typo3/sysext/dashboard/Classes/Widgets/RssWidget.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
                 'description' => trim(strip_tags((string)$item->description)),
123 123
             ];
124 124
         }
125
-        usort($items, function ($item1, $item2) {
125
+        usort($items, function($item1, $item2) {
126 126
             return new \DateTime($item2['pubDate']) <=> new \DateTime($item1['pubDate']);
127 127
         });
128 128
         $items = array_slice($items, 0, $this->options['limit']);
Please login to merge, or discard this patch.
typo3/sysext/workspaces/Classes/Service/Dependency/CollectionService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -235,7 +235,7 @@
 block discarded – undo
235 235
     protected function getCollectionChildrenCount(array $children): int
236 236
     {
237 237
         return count(
238
-            array_filter($children, function (ReferenceEntity $child) {
238
+            array_filter($children, function(ReferenceEntity $child) {
239 239
                 return isset($this->dataArray[$child->getElement()->__toString()]);
240 240
             })
241 241
         );
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Container/FlexFormSectionContainer.php 1 patch
Spacing   +40 added lines, -40 removed lines patch added patch discarded remove patch
@@ -82,23 +82,23 @@  discard block
 block discarded – undo
82 82
             }
83 83
             $containerTemplateHtml = [];
84 84
             $containerTemplateHtml[] = '<a';
85
-            $containerTemplateHtml[] =     'href="#"';
86
-            $containerTemplateHtml[] =     'class="btn btn-default t3js-flex-container-add"';
87
-            $containerTemplateHtml[] =     'data-vanillauid="' . (int)$this->data['vanillaUid'] . '"';
85
+            $containerTemplateHtml[] = 'href="#"';
86
+            $containerTemplateHtml[] = 'class="btn btn-default t3js-flex-container-add"';
87
+            $containerTemplateHtml[] = 'data-vanillauid="' . (int)$this->data['vanillaUid'] . '"';
88 88
             // no int cast for databaseRow uid, this can be "NEW1234..."
89
-            $containerTemplateHtml[] =     'data-databaserowuid="' . htmlspecialchars($this->data['databaseRow']['uid']) . '"';
90
-            $containerTemplateHtml[] =     'data-command="' . htmlspecialchars($this->data['command']) . '"';
91
-            $containerTemplateHtml[] =     'data-tablename="' . htmlspecialchars($this->data['tableName']) . '"';
92
-            $containerTemplateHtml[] =     'data-fieldname="' . htmlspecialchars($this->data['fieldName']) . '"';
93
-            $containerTemplateHtml[] =     'data-recordtypevalue="' . $this->data['recordTypeValue'] . '"';
94
-            $containerTemplateHtml[] =     'data-datastructureidentifier="' . htmlspecialchars($flexFormDataStructureIdentifier) . '"';
95
-            $containerTemplateHtml[] =     'data-flexformsheetname="' . htmlspecialchars($flexFormSheetName) . '"';
96
-            $containerTemplateHtml[] =     'data-flexformfieldname="' . htmlspecialchars($flexFormFieldName) . '"';
97
-            $containerTemplateHtml[] =     'data-flexformcontainername="' . htmlspecialchars($flexFormContainerName) . '"';
98
-            $containerTemplateHtml[] =     'data-target="#' . htmlspecialchars($sectionContainerId) . '"';
89
+            $containerTemplateHtml[] = 'data-databaserowuid="' . htmlspecialchars($this->data['databaseRow']['uid']) . '"';
90
+            $containerTemplateHtml[] = 'data-command="' . htmlspecialchars($this->data['command']) . '"';
91
+            $containerTemplateHtml[] = 'data-tablename="' . htmlspecialchars($this->data['tableName']) . '"';
92
+            $containerTemplateHtml[] = 'data-fieldname="' . htmlspecialchars($this->data['fieldName']) . '"';
93
+            $containerTemplateHtml[] = 'data-recordtypevalue="' . $this->data['recordTypeValue'] . '"';
94
+            $containerTemplateHtml[] = 'data-datastructureidentifier="' . htmlspecialchars($flexFormDataStructureIdentifier) . '"';
95
+            $containerTemplateHtml[] = 'data-flexformsheetname="' . htmlspecialchars($flexFormSheetName) . '"';
96
+            $containerTemplateHtml[] = 'data-flexformfieldname="' . htmlspecialchars($flexFormFieldName) . '"';
97
+            $containerTemplateHtml[] = 'data-flexformcontainername="' . htmlspecialchars($flexFormContainerName) . '"';
98
+            $containerTemplateHtml[] = 'data-target="#' . htmlspecialchars($sectionContainerId) . '"';
99 99
             $containerTemplateHtml[] = '>';
100
-            $containerTemplateHtml[] =    $iconFactory->getIcon('actions-document-new', Icon::SIZE_SMALL)->render();
101
-            $containerTemplateHtml[] =    htmlspecialchars(GeneralUtility::fixed_lgd_cs($containerTitle, 30));
100
+            $containerTemplateHtml[] = $iconFactory->getIcon('actions-document-new', Icon::SIZE_SMALL)->render();
101
+            $containerTemplateHtml[] = htmlspecialchars(GeneralUtility::fixed_lgd_cs($containerTitle, 30));
102 102
             $containerTemplateHtml[] = '</a>';
103 103
             $containerTemplatesHtml[] = implode(LF, $containerTemplateHtml);
104 104
         }
@@ -106,9 +106,9 @@  discard block
 block discarded – undo
106 106
         $createElementsHtml = [];
107 107
         if ($userHasAccessToDefaultLanguage) {
108 108
             $createElementsHtml[] = '<div class="t3-form-field-add-flexsection">';
109
-            $createElementsHtml[] =    '<div class="btn-group">';
110
-            $createElementsHtml[] =        implode('', $containerTemplatesHtml);
111
-            $createElementsHtml[] =    '</div>';
109
+            $createElementsHtml[] = '<div class="btn-group">';
110
+            $createElementsHtml[] = implode('', $containerTemplatesHtml);
111
+            $createElementsHtml[] = '</div>';
112 112
             $createElementsHtml[] = '</div>';
113 113
         }
114 114
 
@@ -121,28 +121,28 @@  discard block
 block discarded – undo
121 121
         $toggleAll = htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.toggleall'));
122 122
         $html = [];
123 123
         $html[] = '<div class="panel panel-tab">';
124
-        $html[] =     '<div class="panel-body">';
125
-        $html[] =         '<div class="t3-form-field-container t3-form-flex" id="' . htmlspecialchars($containerId) . '" data-section="#' . htmlspecialchars($sectionContainerId) . '">';
126
-        $html[] =             '<div class="t3-form-field-label-flexsection">';
127
-        $html[] =                 '<h4>';
128
-        $html[] =                     htmlspecialchars($sectionTitle);
129
-        $html[] =                 '</h4>';
130
-        $html[] =             '</div>';
131
-        $html[] =             '<div class="form-group">';
132
-        $html[] =                 '<button class="btn btn-default t3-form-flexsection-toggle" type="button" title="' . $toggleAll . '" data-expand-all="false">';
133
-        $html[] =                     $iconFactory->getIcon('actions-move-right', Icon::SIZE_SMALL)->render() . $toggleAll;
134
-        $html[] =                 '</button>';
135
-        $html[] =             '</div>';
136
-        $html[] =             '<div';
137
-        $html[] =                 'id="' . htmlspecialchars($sectionContainerId) . '"';
138
-        $html[] =                 'class="panel-group panel-hover t3-form-field-container-flexsection t3-flex-container"';
139
-        $html[] =                 'data-t3-flex-allow-restructure="' . ($userHasAccessToDefaultLanguage ? '1' : '0') . '"';
140
-        $html[] =             '>';
141
-        $html[] =                 $resultArray['html'];
142
-        $html[] =             '</div>';
143
-        $html[] =             implode(LF, $createElementsHtml);
144
-        $html[] =         '</div>';
145
-        $html[] =     '</div>';
124
+        $html[] = '<div class="panel-body">';
125
+        $html[] = '<div class="t3-form-field-container t3-form-flex" id="' . htmlspecialchars($containerId) . '" data-section="#' . htmlspecialchars($sectionContainerId) . '">';
126
+        $html[] = '<div class="t3-form-field-label-flexsection">';
127
+        $html[] = '<h4>';
128
+        $html[] = htmlspecialchars($sectionTitle);
129
+        $html[] = '</h4>';
130
+        $html[] = '</div>';
131
+        $html[] = '<div class="form-group">';
132
+        $html[] = '<button class="btn btn-default t3-form-flexsection-toggle" type="button" title="' . $toggleAll . '" data-expand-all="false">';
133
+        $html[] = $iconFactory->getIcon('actions-move-right', Icon::SIZE_SMALL)->render() . $toggleAll;
134
+        $html[] = '</button>';
135
+        $html[] = '</div>';
136
+        $html[] = '<div';
137
+        $html[] = 'id="' . htmlspecialchars($sectionContainerId) . '"';
138
+        $html[] = 'class="panel-group panel-hover t3-form-field-container-flexsection t3-flex-container"';
139
+        $html[] = 'data-t3-flex-allow-restructure="' . ($userHasAccessToDefaultLanguage ? '1' : '0') . '"';
140
+        $html[] = '>';
141
+        $html[] = $resultArray['html'];
142
+        $html[] = '</div>';
143
+        $html[] = implode(LF, $createElementsHtml);
144
+        $html[] = '</div>';
145
+        $html[] = '</div>';
146 146
         $html[] = '</div>';
147 147
 
148 148
         $resultArray['html'] = implode(LF, $html);
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Tree/FileStorageTreeProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -141,12 +141,12 @@  discard block
 block discarded – undo
141 141
         $storages = $user->getFileStorages();
142 142
         foreach ($storages as $resourceStorage) {
143 143
             $processingFolders = $resourceStorage->getProcessingFolders();
144
-            $processingFolderIdentifiers = array_map(function ($folder) {
144
+            $processingFolderIdentifiers = array_map(function($folder) {
145 145
                 return $folder->getIdentifier();
146 146
             }, $processingFolders);
147
-            $resourceStorage->addFileAndFolderNameFilter(function ($itemName, $itemIdentifier, $parentIdentifier, array $additionalInformation, DriverInterface $driver) use ($resourceStorage, $search, $processingFolderIdentifiers) {
147
+            $resourceStorage->addFileAndFolderNameFilter(function($itemName, $itemIdentifier, $parentIdentifier, array $additionalInformation, DriverInterface $driver) use ($resourceStorage, $search, $processingFolderIdentifiers) {
148 148
                 // Skip items in processing folders
149
-                $isInProcessingFolder = array_filter($processingFolderIdentifiers, function ($processingFolderIdentifier) use ($parentIdentifier) {
149
+                $isInProcessingFolder = array_filter($processingFolderIdentifiers, function($processingFolderIdentifier) use ($parentIdentifier) {
150 150
                     return stripos($parentIdentifier, $processingFolderIdentifier) !== false;
151 151
                 });
152 152
                 if (!empty($isInProcessingFolder)) {
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
     {
237 237
         $fileMounts = $resourceStorage->getFileMounts();
238 238
         if (!empty($fileMounts)) {
239
-            return array_map(function ($fileMountInfo) {
239
+            return array_map(function($fileMountInfo) {
240 240
                 return [
241 241
                     'folder' => $fileMountInfo['folder'],
242 242
                     'name' => $fileMountInfo['title'],
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Authentication/Mfa/MfaProviderRegistry.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      */
80 80
     public function getActiveProviders(AbstractUserAuthentication $user): array
81 81
     {
82
-        return array_filter($this->providers, static function ($provider) use ($user) {
82
+        return array_filter($this->providers, static function($provider) use ($user) {
83 83
             return $provider->isActive(MfaProviderPropertyManager::create($provider, $user));
84 84
         });
85 85
     }
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
      */
132 132
     public function getLockedProviders(AbstractUserAuthentication $user): array
133 133
     {
134
-        return array_filter($this->providers, static function ($provider) use ($user) {
134
+        return array_filter($this->providers, static function($provider) use ($user) {
135 135
             return $provider->isLocked(MfaProviderPropertyManager::create($provider, $user));
136 136
         });
137 137
     }
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Authentication/Mfa/MfaViewType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,6 +27,6 @@
 block discarded – undo
27 27
 class MfaViewType extends Enumeration
28 28
 {
29 29
     public const SETUP = 'setup';
30
-    public const EDIT ='edit';
31
-    public const AUTH ='auth';
30
+    public const EDIT = 'edit';
31
+    public const AUTH = 'auth';
32 32
 }
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Container/FlexFormContainerContainer.php 1 patch
Spacing   +29 added lines, -29 removed lines patch added patch discarded remove patch
@@ -101,35 +101,35 @@
 block discarded – undo
101 101
 
102 102
         $html = [];
103 103
         $html[] = '<div ' . GeneralUtility::implodeAttributes($containerAttributes, true) . '>';
104
-        $html[] =    '<input class="t3js-flex-control-action" type="hidden" name="' . htmlspecialchars($actionFieldName) . '" value="" />';
105
-        $html[] =    '<div ' . GeneralUtility::implodeAttributes($panelHeaderAttributes, true) . '>';
106
-        $html[] =        '<div class="form-irre-header ' . ($flexFormContainerElementCollapsed ? ' collapsed' : '') . '">';
107
-        $html[] =            '<div class="form-irre-header-cell form-irre-header-icon">';
108
-        $html[] =                '<span class="caret"></span>';
109
-        $html[] =            '</div>';
110
-        $html[] =            '<button ' . GeneralUtility::implodeAttributes($toggleAttributes, true) . '>';
111
-        $html[] =                '<div class="form-irre-header-cell form-irre-header-body">';
112
-        $html[] =                    htmlspecialchars($containerTitle);
113
-        $html[] =                    '<output class="content-preview"></output>';
114
-        $html[] =                '</div>';
115
-        $html[] =            '</button>';
116
-        $html[] =            '<div class="form-irre-header-cell form-irre-header-control t3js-formengine-irre-control">';
117
-        $html[] =                '<div class="btn-group btn-group-sm">';
118
-        $html[] =                    implode(LF, $moveAndDeleteContent);
119
-        $html[] =                '</div>';
120
-        $html[] =            '</div>';
121
-        $html[] =        '</div>';
122
-        $html[] =    '</div>';
123
-        $html[] =    '<div id="' . htmlspecialchars($flexFormDomContainerId) . '" class="collapse t3js-flex-section-content ' . ($flexFormContainerElementCollapsed ? '' : 'show') . '">';
124
-        $html[] =        $containerContentResult['html'];
125
-        $html[] =    '</div>';
126
-        $html[] =    '<input';
127
-        $html[] =        'class="t3js-flex-control-toggle"';
128
-        $html[] =        'type="hidden"';
129
-        $html[] =        'id="flexform-toggle-container-' . htmlspecialchars($flexFormContainerIdentifier) . '"';
130
-        $html[] =        'name="' . htmlspecialchars($toggleFieldName) . '"';
131
-        $html[] =        'value="' . ($flexFormContainerElementCollapsed ? '1' : '0') . '"';
132
-        $html[] =    '/>';
104
+        $html[] = '<input class="t3js-flex-control-action" type="hidden" name="' . htmlspecialchars($actionFieldName) . '" value="" />';
105
+        $html[] = '<div ' . GeneralUtility::implodeAttributes($panelHeaderAttributes, true) . '>';
106
+        $html[] = '<div class="form-irre-header ' . ($flexFormContainerElementCollapsed ? ' collapsed' : '') . '">';
107
+        $html[] = '<div class="form-irre-header-cell form-irre-header-icon">';
108
+        $html[] = '<span class="caret"></span>';
109
+        $html[] = '</div>';
110
+        $html[] = '<button ' . GeneralUtility::implodeAttributes($toggleAttributes, true) . '>';
111
+        $html[] = '<div class="form-irre-header-cell form-irre-header-body">';
112
+        $html[] = htmlspecialchars($containerTitle);
113
+        $html[] = '<output class="content-preview"></output>';
114
+        $html[] = '</div>';
115
+        $html[] = '</button>';
116
+        $html[] = '<div class="form-irre-header-cell form-irre-header-control t3js-formengine-irre-control">';
117
+        $html[] = '<div class="btn-group btn-group-sm">';
118
+        $html[] = implode(LF, $moveAndDeleteContent);
119
+        $html[] = '</div>';
120
+        $html[] = '</div>';
121
+        $html[] = '</div>';
122
+        $html[] = '</div>';
123
+        $html[] = '<div id="' . htmlspecialchars($flexFormDomContainerId) . '" class="collapse t3js-flex-section-content ' . ($flexFormContainerElementCollapsed ? '' : 'show') . '">';
124
+        $html[] = $containerContentResult['html'];
125
+        $html[] = '</div>';
126
+        $html[] = '<input';
127
+        $html[] = 'class="t3js-flex-control-toggle"';
128
+        $html[] = 'type="hidden"';
129
+        $html[] = 'id="flexform-toggle-container-' . htmlspecialchars($flexFormContainerIdentifier) . '"';
130
+        $html[] = 'name="' . htmlspecialchars($toggleFieldName) . '"';
131
+        $html[] = 'value="' . ($flexFormContainerElementCollapsed ? '1' : '0') . '"';
132
+        $html[] = '/>';
133 133
         $html[] = '</div>';
134 134
 
135 135
         $resultArray['html'] = implode(LF, $html);
Please login to merge, or discard this patch.