Completed
Push — master ( 7af176...b06cc9 )
by
unknown
15:06
created
typo3/sysext/core/Classes/Routing/Aspect/SiteLanguageAccessorTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
         usort(
50 50
             $results,
51 51
             // orders records by there occurrence in $languageFallbackIds
52
-            function (array $a, array $b) use ($languageFieldName, $languageIds): int {
52
+            function(array $a, array $b) use ($languageFieldName, $languageIds): int {
53 53
                 $languageA = (int)$a[$languageFieldName];
54 54
                 $languageB = (int)$b[$languageFieldName];
55 55
                 return array_search($languageA, $languageIds, true)
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Routing/PageSlugCandidateProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@
 block discarded – undo
151 151
             return '';
152 152
         }
153 153
         $redecorationPatterns = array_map(
154
-            function (DecoratingEnhancerInterface $decorationEnhancers) {
154
+            function(DecoratingEnhancerInterface $decorationEnhancers) {
155 155
                 $pattern = $decorationEnhancers->getRoutePathRedecorationPattern();
156 156
                 return '(?:' . $pattern . ')';
157 157
             },
Please login to merge, or discard this patch.
typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -279,7 +279,7 @@
 block discarded – undo
279 279
                             // Try adding or editing
280 280
                             $content .= $this->editTaskAction();
281 281
                             $sectionTitle = $this->getLanguageService()->getLL('action.' . $this->getCurrentAction());
282
-                        } catch (\LogicException|\UnexpectedValueException|\OutOfBoundsException $e) {
282
+                        } catch (\LogicException | \UnexpectedValueException | \OutOfBoundsException $e) {
283 283
                             // Catching all types of exceptions that were previously handled and
284 284
                             // converted to messages
285 285
                             $content .= $this->listTasksAction();
Please login to merge, or discard this patch.
scheduler/Classes/Task/ExecuteSchedulableCommandAdditionalFieldProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -435,7 +435,7 @@
 block discarded – undo
435 435
             $inputTag->addAttribute('type', 'text');
436 436
             $inputTag->addAttribute('value', $currentValue);
437 437
             $inputTag->addAttribute('class', 'form-control');
438
-            $html .=  $inputTag->render();
438
+            $html .= $inputTag->render();
439 439
         }
440 440
 
441 441
         return $html;
Please login to merge, or discard this patch.
typo3/sysext/t3editor/Classes/Form/Element/T3editorElement.php 1 patch
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -151,28 +151,28 @@
 block discarded – undo
151 151
 
152 152
         $html = [];
153 153
         $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
154
-        $html[] =   $fieldInformationHtml;
155
-        $html[] =   '<div class="form-control-wrap">';
156
-        $html[] =       '<div class="form-wizards-wrap">';
157
-        $html[] =           '<div class="form-wizards-element">';
158
-        $html[] =               '<div class="t3editor-wrapper">';
159
-        $html[] =                   $editorHtml;
160
-        $html[] =               '</div>';
161
-        $html[] =           '</div>';
154
+        $html[] = $fieldInformationHtml;
155
+        $html[] = '<div class="form-control-wrap">';
156
+        $html[] = '<div class="form-wizards-wrap">';
157
+        $html[] = '<div class="form-wizards-element">';
158
+        $html[] = '<div class="t3editor-wrapper">';
159
+        $html[] = $editorHtml;
160
+        $html[] = '</div>';
161
+        $html[] = '</div>';
162 162
         if (!empty($fieldControlHtml)) {
163
-            $html[] =           '<div class="form-wizards-items-aside">';
164
-            $html[] =               '<div class="btn-group">';
165
-            $html[] =                   $fieldControlHtml;
166
-            $html[] =               '</div>';
167
-            $html[] =           '</div>';
163
+            $html[] = '<div class="form-wizards-items-aside">';
164
+            $html[] = '<div class="btn-group">';
165
+            $html[] = $fieldControlHtml;
166
+            $html[] = '</div>';
167
+            $html[] = '</div>';
168 168
         }
169 169
         if (!empty($fieldWizardHtml)) {
170 170
             $html[] = '<div class="form-wizards-items-bottom">';
171 171
             $html[] = $fieldWizardHtml;
172 172
             $html[] = '</div>';
173 173
         }
174
-        $html[] =       '</div>';
175
-        $html[] =   '</div>';
174
+        $html[] = '</div>';
175
+        $html[] = '</div>';
176 176
         $html[] = '</div>';
177 177
 
178 178
         $this->resultArray['html'] = implode(LF, $html);
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Controller/SiteConfigurationController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -692,7 +692,7 @@
 block discarded – undo
692 692
                 }
693 693
             }
694 694
         }
695
-        return array_filter($duplicatedEntryPoints, static function (array $variants): bool {
695
+        return array_filter($duplicatedEntryPoints, static function(array $variants): bool {
696 696
             return count($variants) > 1 || reset($variants) > 1;
697 697
         }, ARRAY_FILTER_USE_BOTH);
698 698
     }
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
@@ -70,8 +70,8 @@  discard block
 block discarded – undo
70 70
         if ($defaultLanguageValue !== '') {
71 71
             $iconIdentifier = $this->data['systemLanguageRows'][0]['flagIconIdentifier'] ?: 'flags-multiple';
72 72
             $html[] = '<div class="t3-form-original-language">';
73
-            $html[] =   $iconFactory->getIcon($iconIdentifier, Icon::SIZE_SMALL)->render();
74
-            $html[] =   $this->previewFieldValue($defaultLanguageValue);
73
+            $html[] = $iconFactory->getIcon($iconIdentifier, Icon::SIZE_SMALL)->render();
74
+            $html[] = $this->previewFieldValue($defaultLanguageValue);
75 75
             $html[] = '</div>';
76 76
         }
77 77
         $additionalPreviewLanguages = $this->data['additionalLanguageRows'];
@@ -85,8 +85,8 @@  discard block
 block discarded – undo
85 85
             );
86 86
             if ($defaultLanguageValue !== '') {
87 87
                 $html[] = '<div class="t3-form-original-language">';
88
-                $html[] =   $iconFactory->getIcon($this->data['systemLanguageRows'][$previewLanguage['sys_language_uid']]['flagIconIdentifier'], Icon::SIZE_SMALL)->render();
89
-                $html[] =   $this->previewFieldValue($defaultLanguageValue);
88
+                $html[] = $iconFactory->getIcon($this->data['systemLanguageRows'][$previewLanguage['sys_language_uid']]['flagIconIdentifier'], Icon::SIZE_SMALL)->render();
89
+                $html[] = $this->previewFieldValue($defaultLanguageValue);
90 90
                 $html[] = '</div>';
91 91
             }
92 92
         }
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/FieldWizard/LocalizationStateSelector.php 1 patch
Spacing   +40 added lines, -40 removed lines patch added patch discarded remove patch
@@ -79,48 +79,48 @@
 block discarded – undo
79 79
 
80 80
         $html = [];
81 81
         $html[] = '<div class="t3js-l10n-state-container">';
82
-        $html[] =   '<div>';
83
-        $html[] =       '<strong>';
84
-        $html[] =           $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_wizards.xlf:localizationStateSelector.header');
85
-        $html[] =       '</strong>';
86
-        $html[] =   '</div>';
87
-        $html[] =   '<div class="radio radio-inline">';
88
-        $html[] =       '<label>';
89
-        $html[] =           '<input';
90
-        $html[] =               ' type="radio"';
91
-        $html[] =               ' name="' . htmlspecialchars($fieldElementName) . '"';
92
-        $html[] =               ' class="t3js-l10n-state-custom"';
93
-        $html[] =               ' value="custom"';
94
-        $html[] =               $localizationState->isCustomState($fieldName) ? ' checked="checked"' : '';
95
-        $html[] =               ' data-original-language-value=""';
96
-        $html[] =           '>';
97
-        $html[] =           $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_wizards.xlf:localizationStateSelector.customValue');
98
-        $html[] =       '</label>';
99
-        $html[] =   '</div>';
100
-        $html[] =   '<div class="radio radio-inline">';
101
-        $html[] =       '<label>';
102
-        $html[] =           '<input';
103
-        $html[] =               ' type="radio"';
104
-        $html[] =               ' name="' . htmlspecialchars($fieldElementName) . '"';
105
-        $html[] =               ' value="parent"';
106
-        $html[] =               $localizationState->isParentState($fieldName) ? ' checked="checked"' : '';
107
-        $html[] =               ' data-original-language-value="' . htmlspecialchars((string)$fieldValueInParentRow) . '"';
108
-        $html[] =           '>';
109
-        $html[] =           $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_wizards.xlf:localizationStateSelector.defaultLanguageValue');
110
-        $html[] =       '</label>';
111
-        $html[] =   '</div>';
82
+        $html[] = '<div>';
83
+        $html[] = '<strong>';
84
+        $html[] = $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_wizards.xlf:localizationStateSelector.header');
85
+        $html[] = '</strong>';
86
+        $html[] = '</div>';
87
+        $html[] = '<div class="radio radio-inline">';
88
+        $html[] = '<label>';
89
+        $html[] = '<input';
90
+        $html[] = ' type="radio"';
91
+        $html[] = ' name="' . htmlspecialchars($fieldElementName) . '"';
92
+        $html[] = ' class="t3js-l10n-state-custom"';
93
+        $html[] = ' value="custom"';
94
+        $html[] = $localizationState->isCustomState($fieldName) ? ' checked="checked"' : '';
95
+        $html[] = ' data-original-language-value=""';
96
+        $html[] = '>';
97
+        $html[] = $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_wizards.xlf:localizationStateSelector.customValue');
98
+        $html[] = '</label>';
99
+        $html[] = '</div>';
100
+        $html[] = '<div class="radio radio-inline">';
101
+        $html[] = '<label>';
102
+        $html[] = '<input';
103
+        $html[] = ' type="radio"';
104
+        $html[] = ' name="' . htmlspecialchars($fieldElementName) . '"';
105
+        $html[] = ' value="parent"';
106
+        $html[] = $localizationState->isParentState($fieldName) ? ' checked="checked"' : '';
107
+        $html[] = ' data-original-language-value="' . htmlspecialchars((string)$fieldValueInParentRow) . '"';
108
+        $html[] = '>';
109
+        $html[] = $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_wizards.xlf:localizationStateSelector.defaultLanguageValue');
110
+        $html[] = '</label>';
111
+        $html[] = '</div>';
112 112
         if ($fieldValueInSourceRow !== null) {
113 113
             $html[] = '<div class="radio radio-inline">';
114
-            $html[] =   '<label>';
115
-            $html[] =       '<input';
116
-            $html[] =           ' type="radio"';
117
-            $html[] =           ' name="' . htmlspecialchars($fieldElementName) . '"';
118
-            $html[] =           ' value="source"';
119
-            $html[] =           $localizationState->isSourceState($fieldName) ? ' checked="checked"' : '';
120
-            $html[] =           ' data-original-language-value="' . htmlspecialchars((string)$fieldValueInSourceRow) . '"';
121
-            $html[] =       '>';
122
-            $html[] =       sprintf($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_wizards.xlf:localizationStateSelector.sourceLanguageValue'), htmlspecialchars($sourceLanguageTitle));
123
-            $html[] =   '</label>';
114
+            $html[] = '<label>';
115
+            $html[] = '<input';
116
+            $html[] = ' type="radio"';
117
+            $html[] = ' name="' . htmlspecialchars($fieldElementName) . '"';
118
+            $html[] = ' value="source"';
119
+            $html[] = $localizationState->isSourceState($fieldName) ? ' checked="checked"' : '';
120
+            $html[] = ' data-original-language-value="' . htmlspecialchars((string)$fieldValueInSourceRow) . '"';
121
+            $html[] = '>';
122
+            $html[] = sprintf($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_wizards.xlf:localizationStateSelector.sourceLanguageValue'), htmlspecialchars($sourceLanguageTitle));
123
+            $html[] = '</label>';
124 124
             $html[] = '</div>';
125 125
         }
126 126
         $html[] = '</div>';
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
@@ -68,17 +68,17 @@
 block discarded – undo
68 68
                 BackendUtility::getProcessedValue($table, $fieldName, $defaultLanguageRow[$fieldName], 0, 1)
69 69
             );
70 70
             $html[] = '<div class="t3-form-original-language-diff">';
71
-            $html[] =   '<div class="t3-form-original-language-diffheader">';
72
-            $html[] =       htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.changeInOrig'));
73
-            $html[] =   '</div>';
74
-            $html[] =   '<div class="t3-form-original-language-diffcontent">';
75
-            $html[] =       '<div class="diff">';
76
-            $html[] =           '<div class="diff-item">';
77
-            $html[] =               '<div class="diff-item-result diff-item-result-inline">' . $diffResult . '</div>';
78
-            $html[] =           '</div>';
79
-            $html[] =       '</div>';
80
-            $html[] =   '</div>';
81
-            $html[] =  '</div>';
71
+            $html[] = '<div class="t3-form-original-language-diffheader">';
72
+            $html[] = htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.changeInOrig'));
73
+            $html[] = '</div>';
74
+            $html[] = '<div class="t3-form-original-language-diffcontent">';
75
+            $html[] = '<div class="diff">';
76
+            $html[] = '<div class="diff-item">';
77
+            $html[] = '<div class="diff-item-result diff-item-result-inline">' . $diffResult . '</div>';
78
+            $html[] = '</div>';
79
+            $html[] = '</div>';
80
+            $html[] = '</div>';
81
+            $html[] = '</div>';
82 82
         }
83 83
         $result['html'] = implode(LF, $html);
84 84
         return $result;
Please login to merge, or discard this patch.