Passed
Branch master (c87ba8)
by Christian
16:02
created
typo3/sysext/backend/Classes/Form/Element/InputLinkElement.php 1 patch
Spacing   +50 added lines, -50 removed lines patch added patch discarded remove patch
@@ -113,14 +113,14 @@  discard block
 block discarded – undo
113 113
             // Early return for read only fields
114 114
             $html = [];
115 115
             $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
116
-            $html[] =   $fieldInformationHtml;
117
-            $html[] =   '<div class="form-wizards-wrap">';
118
-            $html[] =       '<div class="form-wizards-element">';
119
-            $html[] =           '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
120
-            $html[] =               '<input class="form-control" value="' . htmlspecialchars($itemValue) . '" type="text" disabled>';
121
-            $html[] =           '</div>';
122
-            $html[] =       '</div>';
123
-            $html[] =   '</div>';
116
+            $html[] = $fieldInformationHtml;
117
+            $html[] = '<div class="form-wizards-wrap">';
118
+            $html[] = '<div class="form-wizards-element">';
119
+            $html[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
120
+            $html[] = '<input class="form-control" value="' . htmlspecialchars($itemValue) . '" type="text" disabled>';
121
+            $html[] = '</div>';
122
+            $html[] = '</div>';
123
+            $html[] = '</div>';
124 124
             $html[] = '</div>';
125 125
             $resultArray['html'] = implode(LF, $html);
126 126
             return $resultArray;
@@ -195,8 +195,8 @@  discard block
 block discarded – undo
195 195
                     . '.value=this.options[this.selectedIndex].value';
196 196
             }
197 197
             $valuePickerHtml[] = '<select';
198
-            $valuePickerHtml[] =  ' class="form-control tceforms-select tceforms-wizardselect"';
199
-            $valuePickerHtml[] =  ' onchange="' . htmlspecialchars($assignValue . ';this.blur();this.selectedIndex=0;' . implode('', $fieldChangeFunc)) . '"';
198
+            $valuePickerHtml[] = ' class="form-control tceforms-select tceforms-wizardselect"';
199
+            $valuePickerHtml[] = ' onchange="' . htmlspecialchars($assignValue . ';this.blur();this.selectedIndex=0;' . implode('', $fieldChangeFunc)) . '"';
200 200
             $valuePickerHtml[] = '>';
201 201
             $valuePickerHtml[] = '<option></option>';
202 202
             foreach ($config['valuePicker']['items'] as $item) {
@@ -219,33 +219,33 @@  discard block
 block discarded – undo
219 219
 
220 220
         $expansionHtml = [];
221 221
         $expansionHtml[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
222
-        $expansionHtml[] =  '<div class="form-wizards-wrap">';
223
-        $expansionHtml[] =      '<div class="form-wizards-element">';
224
-        $expansionHtml[] =          '<div class="input-group t3js-form-field-inputlink">';
225
-        $expansionHtml[] =              '<span class="t3js-form-field-inputlink-icon input-group-addon">' . $linkExplanation['icon'] . '</span>';
226
-        $expansionHtml[] =              '<input class="form-control t3js-form-field-inputlink-explanation" data-toggle="tooltip" data-title="' . $explanation . '" value="' . $explanation . '" readonly>';
227
-        $expansionHtml[] =              '<input type="text" ' . GeneralUtility::implodeAttributes($attributes, true) . ' />';
228
-        $expansionHtml[] =              '<span class="input-group-btn">';
229
-        $expansionHtml[] =                  '<button class="btn btn-default t3js-form-field-inputlink-explanation-toggle" type="button" title="' . htmlspecialchars($toggleButtonTitle) . '">';
230
-        $expansionHtml[] =                      $this->iconFactory->getIcon('actions-version-workspaces-preview-link', Icon::SIZE_SMALL)->render();
231
-        $expansionHtml[] =                  '</button>';
232
-        $expansionHtml[] =              '</span>';
233
-        $expansionHtml[] =              '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars($itemValue) . '" />';
234
-        $expansionHtml[] =          '</div>';
235
-        $expansionHtml[] =      '</div>';
222
+        $expansionHtml[] = '<div class="form-wizards-wrap">';
223
+        $expansionHtml[] = '<div class="form-wizards-element">';
224
+        $expansionHtml[] = '<div class="input-group t3js-form-field-inputlink">';
225
+        $expansionHtml[] = '<span class="t3js-form-field-inputlink-icon input-group-addon">' . $linkExplanation['icon'] . '</span>';
226
+        $expansionHtml[] = '<input class="form-control t3js-form-field-inputlink-explanation" data-toggle="tooltip" data-title="' . $explanation . '" value="' . $explanation . '" readonly>';
227
+        $expansionHtml[] = '<input type="text" ' . GeneralUtility::implodeAttributes($attributes, true) . ' />';
228
+        $expansionHtml[] = '<span class="input-group-btn">';
229
+        $expansionHtml[] = '<button class="btn btn-default t3js-form-field-inputlink-explanation-toggle" type="button" title="' . htmlspecialchars($toggleButtonTitle) . '">';
230
+        $expansionHtml[] = $this->iconFactory->getIcon('actions-version-workspaces-preview-link', Icon::SIZE_SMALL)->render();
231
+        $expansionHtml[] = '</button>';
232
+        $expansionHtml[] = '</span>';
233
+        $expansionHtml[] = '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars($itemValue) . '" />';
234
+        $expansionHtml[] = '</div>';
235
+        $expansionHtml[] = '</div>';
236 236
         if (!empty($valuePickerHtml) || !empty($fieldControlHtml)) {
237
-            $expansionHtml[] =      '<div class="form-wizards-items-aside">';
238
-            $expansionHtml[] =          '<div class="btn-group">';
239
-            $expansionHtml[] =              implode(LF, $valuePickerHtml);
240
-            $expansionHtml[] =              $fieldControlHtml;
241
-            $expansionHtml[] =          '</div>';
242
-            $expansionHtml[] =      '</div>';
237
+            $expansionHtml[] = '<div class="form-wizards-items-aside">';
238
+            $expansionHtml[] = '<div class="btn-group">';
239
+            $expansionHtml[] = implode(LF, $valuePickerHtml);
240
+            $expansionHtml[] = $fieldControlHtml;
241
+            $expansionHtml[] = '</div>';
242
+            $expansionHtml[] = '</div>';
243 243
         }
244
-        $expansionHtml[] =      '<div class="form-wizards-items-bottom">';
245
-        $expansionHtml[] =          $linkExplanation['additionalAttributes'];
246
-        $expansionHtml[] =          $fieldWizardHtml;
247
-        $expansionHtml[] =      '</div>';
248
-        $expansionHtml[] =  '</div>';
244
+        $expansionHtml[] = '<div class="form-wizards-items-bottom">';
245
+        $expansionHtml[] = $linkExplanation['additionalAttributes'];
246
+        $expansionHtml[] = $fieldWizardHtml;
247
+        $expansionHtml[] = '</div>';
248
+        $expansionHtml[] = '</div>';
249 249
         $expansionHtml[] = '</div>';
250 250
         $expansionHtml = implode(LF, $expansionHtml);
251 251
 
@@ -255,11 +255,11 @@  discard block
 block discarded – undo
255 255
             $fullElement = [];
256 256
             $fullElement[] = '<div class="t3-form-field-disable"></div>';
257 257
             $fullElement[] = '<div class="checkbox t3-form-field-eval-null-checkbox">';
258
-            $fullElement[] =     '<label for="' . $nullControlNameEscaped . '">';
259
-            $fullElement[] =         '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
260
-            $fullElement[] =         '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
261
-            $fullElement[] =         $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
262
-            $fullElement[] =     '</label>';
258
+            $fullElement[] = '<label for="' . $nullControlNameEscaped . '">';
259
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
260
+            $fullElement[] = '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
261
+            $fullElement[] = $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
262
+            $fullElement[] = '</label>';
263 263
             $fullElement[] = '</div>';
264 264
             $fullElement[] = $expansionHtml;
265 265
             $fullElement = implode(LF, $fullElement);
@@ -288,19 +288,19 @@  discard block
 block discarded – undo
288 288
             }
289 289
             $fullElement = [];
290 290
             $fullElement[] = '<div class="checkbox t3js-form-field-eval-null-placeholder-checkbox">';
291
-            $fullElement[] =     '<label for="' . $nullControlNameEscaped . '">';
292
-            $fullElement[] =         '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
293
-            $fullElement[] =         '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
294
-            $fullElement[] =         $overrideLabel;
295
-            $fullElement[] =     '</label>';
291
+            $fullElement[] = '<label for="' . $nullControlNameEscaped . '">';
292
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
293
+            $fullElement[] = '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
294
+            $fullElement[] = $overrideLabel;
295
+            $fullElement[] = '</label>';
296 296
             $fullElement[] = '</div>';
297 297
             $fullElement[] = '<div class="t3js-formengine-placeholder-placeholder">';
298
-            $fullElement[] =    '<div class="form-control-wrap" style="max-width:' . $width . 'px">';
299
-            $fullElement[] =        '<input type="text" class="form-control" disabled="disabled" value="' . htmlspecialchars($shortenedPlaceholder) . '" />';
300
-            $fullElement[] =    '</div>';
298
+            $fullElement[] = '<div class="form-control-wrap" style="max-width:' . $width . 'px">';
299
+            $fullElement[] = '<input type="text" class="form-control" disabled="disabled" value="' . htmlspecialchars($shortenedPlaceholder) . '" />';
300
+            $fullElement[] = '</div>';
301 301
             $fullElement[] = '</div>';
302 302
             $fullElement[] = '<div class="t3js-formengine-placeholder-formfield">';
303
-            $fullElement[] =    $expansionHtml;
303
+            $fullElement[] = $expansionHtml;
304 304
             $fullElement[] = '</div>';
305 305
             $fullElement = implode(LF, $fullElement);
306 306
         }
@@ -330,7 +330,7 @@  discard block
 block discarded – undo
330 330
 
331 331
         try {
332 332
             $linkData = $linkService->resolve($linkParts['url']);
333
-        } catch (FileDoesNotExistException|FolderDoesNotExistException|UnknownLinkHandlerException|InvalidPathException $e) {
333
+        } catch (FileDoesNotExistException | FolderDoesNotExistException | UnknownLinkHandlerException | InvalidPathException $e) {
334 334
             return $data;
335 335
         }
336 336
 
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Imaging/ImageDimension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
                 (int)$processedFile->getOriginalFile()->getProperty('height')
73 73
             );
74 74
         }
75
-        if ($imageDimension->width <=0 || $imageDimension->height <=0) {
75
+        if ($imageDimension->width <= 0 || $imageDimension->height <= 0) {
76 76
             throw new \BadMethodCallException('Width and height of the image must be greater than zero', 1597310560);
77 77
         }
78 78
         $result = GeneralUtility::makeInstance(GraphicalFunctions::class)->getImageScale(
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Database/QueryGenerator.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1436,7 +1436,7 @@  discard block
 block discarded – undo
1436 1436
         if (in_array('table', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableSelectATable']) {
1437 1437
             $out[] = '<div class="form-group">';
1438 1438
             $out[] = '	<label for="SET[queryTable]">Select a table:</label>';
1439
-            $out[] =    $this->mkTableSelect('SET[queryTable]', $this->table);
1439
+            $out[] = $this->mkTableSelect('SET[queryTable]', $this->table);
1440 1440
             $out[] = '</div>';
1441 1441
         }
1442 1442
         if ($this->table) {
@@ -1476,19 +1476,19 @@  discard block
 block discarded – undo
1476 1476
             if (in_array('fields', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableSelectFields']) {
1477 1477
                 $out[] = '<div class="form-group form-group-with-button-addon">';
1478 1478
                 $out[] = '	<label for="SET[queryFields]">Select fields:</label>';
1479
-                $out[] =    $this->mkFieldToInputSelect('SET[queryFields]', $this->extFieldLists['queryFields']);
1479
+                $out[] = $this->mkFieldToInputSelect('SET[queryFields]', $this->extFieldLists['queryFields']);
1480 1480
                 $out[] = '</div>';
1481 1481
             }
1482 1482
             if (in_array('query', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableMakeQuery']) {
1483 1483
                 $out[] = '<div class="form-group">';
1484 1484
                 $out[] = '	<label>Make Query:</label>';
1485
-                $out[] =    $queryCode;
1485
+                $out[] = $queryCode;
1486 1486
                 $out[] = '</div>';
1487 1487
             }
1488 1488
             if (in_array('group', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableGroupBy']) {
1489 1489
                 $out[] = '<div class="form-group form-inline">';
1490 1490
                 $out[] = '	<label for="SET[queryGroup]">Group By:</label>';
1491
-                $out[] =     $this->mkTypeSelect('SET[queryGroup]', $this->extFieldLists['queryGroup'], '');
1491
+                $out[] = $this->mkTypeSelect('SET[queryGroup]', $this->extFieldLists['queryGroup'], '');
1492 1492
                 $out[] = '</div>';
1493 1493
             }
1494 1494
             if (in_array('order', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableOrderBy']) {
@@ -1497,7 +1497,7 @@  discard block
 block discarded – undo
1497 1497
                 $orderBy[] = $this->mkTypeSelect('SET[queryOrder]', $orderByArr[0], '');
1498 1498
                 $orderBy[] = '<div class="checkbox">';
1499 1499
                 $orderBy[] = '	<label for="checkQueryOrderDesc">';
1500
-                $orderBy[] =        BackendUtility::getFuncCheck(0, 'SET[queryOrderDesc]', $modSettings['queryOrderDesc'], '', '', 'id="checkQueryOrderDesc"') . ' Descending';
1500
+                $orderBy[] = BackendUtility::getFuncCheck(0, 'SET[queryOrderDesc]', $modSettings['queryOrderDesc'], '', '', 'id="checkQueryOrderDesc"') . ' Descending';
1501 1501
                 $orderBy[] = '	</label>';
1502 1502
                 $orderBy[] = '</div>';
1503 1503
 
@@ -1505,13 +1505,13 @@  discard block
 block discarded – undo
1505 1505
                     $orderBy[] = $this->mkTypeSelect('SET[queryOrder2]', $orderByArr[1], '');
1506 1506
                     $orderBy[] = '<div class="checkbox">';
1507 1507
                     $orderBy[] = '	<label for="checkQueryOrder2Desc">';
1508
-                    $orderBy[] =        BackendUtility::getFuncCheck(0, 'SET[queryOrder2Desc]', $modSettings['queryOrder2Desc'], '', '', 'id="checkQueryOrder2Desc"') . ' Descending';
1508
+                    $orderBy[] = BackendUtility::getFuncCheck(0, 'SET[queryOrder2Desc]', $modSettings['queryOrder2Desc'], '', '', 'id="checkQueryOrder2Desc"') . ' Descending';
1509 1509
                     $orderBy[] = '	</label>';
1510 1510
                     $orderBy[] = '</div>';
1511 1511
                 }
1512 1512
                 $out[] = '<div class="form-group form-inline">';
1513 1513
                 $out[] = '	<label>Order By:</label>';
1514
-                $out[] =     implode(LF, $orderBy);
1514
+                $out[] = implode(LF, $orderBy);
1515 1515
                 $out[] = '</div>';
1516 1516
             }
1517 1517
             if (in_array('limit', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableLimit']) {
@@ -1545,10 +1545,10 @@  discard block
 block discarded – undo
1545 1545
                 $out[] = '<div class="form-group">';
1546 1546
                 $out[] = '	<label>Limit:</label>';
1547 1547
                 $out[] = '	<div class="form-inline">';
1548
-                $out[] =        implode(LF, $limit);
1548
+                $out[] = implode(LF, $limit);
1549 1549
                 $out[] = '		<div class="btn-group t3js-limit-submit">';
1550
-                $out[] =            $prevButton;
1551
-                $out[] =            $nextButton;
1550
+                $out[] = $prevButton;
1551
+                $out[] = $nextButton;
1552 1552
                 $out[] = '		</div>';
1553 1553
                 $out[] = '		<div class="btn-group t3js-limit-submit">';
1554 1554
                 $out[] = '			<input type="button" class="btn btn-default" data-value="10" value="10">';
Please login to merge, or discard this patch.
typo3/sysext/extbase/Classes/Configuration/BackendConfigurationManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -266,7 +266,7 @@
 block discarded – undo
266 266
             $startPid = abs($startPid);
267 267
             $recursiveStoragePids = array_merge(
268 268
                 $recursiveStoragePids,
269
-                [ $startPid ],
269
+                [$startPid],
270 270
                 $this->getPageChildrenRecursive($startPid, $recursionDepth, 0, $permsClause)
271 271
             );
272 272
         }
Please login to merge, or discard this patch.
typo3/sysext/workspaces/Classes/Service/WorkspaceService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -527,7 +527,7 @@  discard block
 block discarded – undo
527 527
         );
528 528
         if ($pageId > 0) {
529 529
             $pageList = array_merge(
530
-                [ (int)$pageId ],
530
+                [(int)$pageId],
531 531
                 $this->getPageChildrenRecursive((int)$pageId, (int)$recursionLevel, 0, $permsClause)
532 532
             );
533 533
         } else {
@@ -540,7 +540,7 @@  discard block
 block discarded – undo
540 540
             foreach ($mountPoints as $mountPoint) {
541 541
                 $pageList = array_merge(
542 542
                     $pageList
543
-                    [ (int)$mountPoint ],
543
+                    [(int)$mountPoint],
544 544
                     $this->getPageChildrenRecursive((int)$mountPoint, (int)$recursionLevel, 0, $permsClause)
545 545
                 );
546 546
             }
Please login to merge, or discard this patch.
typo3/sysext/lowlevel/Classes/Database/QueryGenerator.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1436,7 +1436,7 @@  discard block
 block discarded – undo
1436 1436
         if (in_array('table', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableSelectATable']) {
1437 1437
             $out[] = '<div class="form-group">';
1438 1438
             $out[] = '	<label for="SET[queryTable]">Select a table:</label>';
1439
-            $out[] =    $this->mkTableSelect('SET[queryTable]', $this->table);
1439
+            $out[] = $this->mkTableSelect('SET[queryTable]', $this->table);
1440 1440
             $out[] = '</div>';
1441 1441
         }
1442 1442
         if ($this->table) {
@@ -1476,19 +1476,19 @@  discard block
 block discarded – undo
1476 1476
             if (in_array('fields', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableSelectFields']) {
1477 1477
                 $out[] = '<div class="form-group form-group-with-button-addon">';
1478 1478
                 $out[] = '	<label for="SET[queryFields]">Select fields:</label>';
1479
-                $out[] =    $this->mkFieldToInputSelect('SET[queryFields]', $this->extFieldLists['queryFields']);
1479
+                $out[] = $this->mkFieldToInputSelect('SET[queryFields]', $this->extFieldLists['queryFields']);
1480 1480
                 $out[] = '</div>';
1481 1481
             }
1482 1482
             if (in_array('query', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableMakeQuery']) {
1483 1483
                 $out[] = '<div class="form-group">';
1484 1484
                 $out[] = '	<label>Make Query:</label>';
1485
-                $out[] =    $queryCode;
1485
+                $out[] = $queryCode;
1486 1486
                 $out[] = '</div>';
1487 1487
             }
1488 1488
             if (in_array('group', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableGroupBy']) {
1489 1489
                 $out[] = '<div class="form-group form-inline">';
1490 1490
                 $out[] = '	<label for="SET[queryGroup]">Group By:</label>';
1491
-                $out[] =     $this->mkTypeSelect('SET[queryGroup]', $this->extFieldLists['queryGroup'], '');
1491
+                $out[] = $this->mkTypeSelect('SET[queryGroup]', $this->extFieldLists['queryGroup'], '');
1492 1492
                 $out[] = '</div>';
1493 1493
             }
1494 1494
             if (in_array('order', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableOrderBy']) {
@@ -1497,7 +1497,7 @@  discard block
 block discarded – undo
1497 1497
                 $orderBy[] = $this->mkTypeSelect('SET[queryOrder]', $orderByArr[0], '');
1498 1498
                 $orderBy[] = '<div class="checkbox">';
1499 1499
                 $orderBy[] = '	<label for="checkQueryOrderDesc">';
1500
-                $orderBy[] =        BackendUtility::getFuncCheck(0, 'SET[queryOrderDesc]', $modSettings['queryOrderDesc'], '', '', 'id="checkQueryOrderDesc"') . ' Descending';
1500
+                $orderBy[] = BackendUtility::getFuncCheck(0, 'SET[queryOrderDesc]', $modSettings['queryOrderDesc'], '', '', 'id="checkQueryOrderDesc"') . ' Descending';
1501 1501
                 $orderBy[] = '	</label>';
1502 1502
                 $orderBy[] = '</div>';
1503 1503
 
@@ -1505,13 +1505,13 @@  discard block
 block discarded – undo
1505 1505
                     $orderBy[] = $this->mkTypeSelect('SET[queryOrder2]', $orderByArr[1], '');
1506 1506
                     $orderBy[] = '<div class="checkbox">';
1507 1507
                     $orderBy[] = '	<label for="checkQueryOrder2Desc">';
1508
-                    $orderBy[] =        BackendUtility::getFuncCheck(0, 'SET[queryOrder2Desc]', $modSettings['queryOrder2Desc'], '', '', 'id="checkQueryOrder2Desc"') . ' Descending';
1508
+                    $orderBy[] = BackendUtility::getFuncCheck(0, 'SET[queryOrder2Desc]', $modSettings['queryOrder2Desc'], '', '', 'id="checkQueryOrder2Desc"') . ' Descending';
1509 1509
                     $orderBy[] = '	</label>';
1510 1510
                     $orderBy[] = '</div>';
1511 1511
                 }
1512 1512
                 $out[] = '<div class="form-group form-inline">';
1513 1513
                 $out[] = '	<label>Order By:</label>';
1514
-                $out[] =     implode(LF, $orderBy);
1514
+                $out[] = implode(LF, $orderBy);
1515 1515
                 $out[] = '</div>';
1516 1516
             }
1517 1517
             if (in_array('limit', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableLimit']) {
@@ -1545,10 +1545,10 @@  discard block
 block discarded – undo
1545 1545
                 $out[] = '<div class="form-group">';
1546 1546
                 $out[] = '	<label>Limit:</label>';
1547 1547
                 $out[] = '	<div class="form-inline">';
1548
-                $out[] =        implode(LF, $limit);
1548
+                $out[] = implode(LF, $limit);
1549 1549
                 $out[] = '		<div class="btn-group t3js-limit-submit">';
1550
-                $out[] =            $prevButton;
1551
-                $out[] =            $nextButton;
1550
+                $out[] = $prevButton;
1551
+                $out[] = $nextButton;
1552 1552
                 $out[] = '		</div>';
1553 1553
                 $out[] = '		<div class="btn-group t3js-limit-submit">';
1554 1554
                 $out[] = '			<input type="button" class="btn btn-default" data-value="10" value="10">';
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Resource/Processing/LocalPreviewHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
 
52 52
         return array_filter(
53 53
             $configuration,
54
-            function ($value, $name) {
54
+            function($value, $name) {
55 55
                 return !empty($value) && in_array($name, ['width', 'height'], true);
56 56
             },
57 57
             ARRAY_FILTER_USE_BOTH
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Element/SelectCheckBoxElement.php 1 patch
Spacing   +31 added lines, -31 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
164 164
 
165 165
             $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
166 166
             $html[] = $fieldInformationHtml;
167
-            $html[] =   '<div class="form-wizards-wrap">';
168
-            $html[] =       '<div class="form-wizards-element">';
167
+            $html[] = '<div class="form-wizards-wrap">';
168
+            $html[] = '<div class="form-wizards-element">';
169 169
 
170 170
             // Add an empty hidden field which will send a blank value if all items are unselected.
171 171
             $html[] = '<input type="hidden" class="select-checkbox" name="' . htmlspecialchars($parameterArray['itemFormElName']) . '" value="">';
@@ -189,22 +189,22 @@  discard block
 block discarded – undo
189 189
                     // Render rows
190 190
                     foreach ($group['items'] as $item) {
191 191
                         $tableRows[] = '<tr class="' . $item['class'] . '">';
192
-                        $tableRows[] =    '<td class="col-checkbox">';
193
-                        $tableRows[] =        '<input type="checkbox" class="t3js-checkbox" '
192
+                        $tableRows[] = '<td class="col-checkbox">';
193
+                        $tableRows[] = '<input type="checkbox" class="t3js-checkbox" '
194 194
                                             . 'id="' . $item['id'] . '" '
195 195
                                             . 'name="' . htmlspecialchars($item['name']) . '" '
196 196
                                             . 'value="' . htmlspecialchars($item['value']) . '" '
197 197
                                             . 'onclick="' . htmlspecialchars($sOnChange) . '" '
198 198
                                             . ($item['checked'] ? 'checked=checked ' : '')
199 199
                                             . ($item['disabled'] ? 'disabled=disabled ' : '') . '>';
200
-                        $tableRows[] =    '</td>';
201
-                        $tableRows[] =    '<td class="col-icon">';
202
-                        $tableRows[] =        '<label class="label-block" for="' . $item['id'] . '">' . $item['icon'] . '</label>';
203
-                        $tableRows[] =    '</td>';
204
-                        $tableRows[] =    '<td class="col-title">';
205
-                        $tableRows[] =        '<label class="label-block nowrap-disabled" for="' . $item['id'] . '">' . htmlspecialchars($this->appendValueToLabelInDebugMode($item['title'], $item['value']), ENT_COMPAT, 'UTF-8', false) . '</label>';
206
-                        $tableRows[] =    '</td>';
207
-                        $tableRows[] =    '<td class="text-right">' . $item['help'] . '</td>';
200
+                        $tableRows[] = '</td>';
201
+                        $tableRows[] = '<td class="col-icon">';
202
+                        $tableRows[] = '<label class="label-block" for="' . $item['id'] . '">' . $item['icon'] . '</label>';
203
+                        $tableRows[] = '</td>';
204
+                        $tableRows[] = '<td class="col-title">';
205
+                        $tableRows[] = '<label class="label-block nowrap-disabled" for="' . $item['id'] . '">' . htmlspecialchars($this->appendValueToLabelInDebugMode($item['title'], $item['value']), ENT_COMPAT, 'UTF-8', false) . '</label>';
206
+                        $tableRows[] = '</td>';
207
+                        $tableRows[] = '<td class="text-right">' . $item['help'] . '</td>';
208 208
                         $tableRows[] = '</tr>';
209 209
                     }
210 210
 
@@ -225,20 +225,20 @@  discard block
 block discarded – undo
225 225
                     }
226 226
                     $checkboxId = StringUtility::getUniqueId($groupId);
227 227
                     $title = htmlspecialchars($this->getLanguageService()->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.toggleall'));
228
-                    $html[] =    '<div class="table-responsive">';
229
-                    $html[] =        '<table class="table table-transparent table-hover">';
230
-                    $html[] =            '<thead>';
231
-                    $html[] =                '<tr>';
232
-                    $html[] =                    '<th class="col-checkbox">';
233
-                    $html[] =                       '<input type="checkbox" id="' . $checkboxId . '" class="t3js-toggle-checkboxes" data-trigger="hover" data-placement="right" data-title="' . $title . '" data-toggle="tooltip" />';
234
-                    $html[] =                    '</th>';
235
-                    $html[] =                    '<th class="col-title" colspan="2"><label for="' . $checkboxId . '">' . $title . '</label></th>';
236
-                    $html[] =                    '<th class="text-right">' . $resetGroupBtn . '</th>';
237
-                    $html[] =                '</tr>';
238
-                    $html[] =            '</thead>';
239
-                    $html[] =            '<tbody>' . implode(LF, $tableRows) . '</tbody>';
240
-                    $html[] =        '</table>';
241
-                    $html[] =    '</div>';
228
+                    $html[] = '<div class="table-responsive">';
229
+                    $html[] = '<table class="table table-transparent table-hover">';
230
+                    $html[] = '<thead>';
231
+                    $html[] = '<tr>';
232
+                    $html[] = '<th class="col-checkbox">';
233
+                    $html[] = '<input type="checkbox" id="' . $checkboxId . '" class="t3js-toggle-checkboxes" data-trigger="hover" data-placement="right" data-title="' . $title . '" data-toggle="tooltip" />';
234
+                    $html[] = '</th>';
235
+                    $html[] = '<th class="col-title" colspan="2"><label for="' . $checkboxId . '">' . $title . '</label></th>';
236
+                    $html[] = '<th class="text-right">' . $resetGroupBtn . '</th>';
237
+                    $html[] = '</tr>';
238
+                    $html[] = '</thead>';
239
+                    $html[] = '<tbody>' . implode(LF, $tableRows) . '</tbody>';
240
+                    $html[] = '</table>';
241
+                    $html[] = '</div>';
242 242
                     if (is_array($group['header'])) {
243 243
                         $html[] = '</div>';
244 244
                     }
@@ -252,13 +252,13 @@  discard block
 block discarded – undo
252 252
                 $html[] = '</div>';
253 253
             }
254 254
 
255
-            $html[] =       '</div>';
255
+            $html[] = '</div>';
256 256
             if (!$disabled && !empty($fieldWizardHtml)) {
257
-                $html[] =   '<div class="form-wizards-items-bottom">';
258
-                $html[] =       $fieldWizardHtml;
259
-                $html[] =   '</div>';
257
+                $html[] = '<div class="form-wizards-items-bottom">';
258
+                $html[] = $fieldWizardHtml;
259
+                $html[] = '</div>';
260 260
             }
261
-            $html[] =   '</div>';
261
+            $html[] = '</div>';
262 262
             $html[] = '</div>';
263 263
         }
264 264
 
Please login to merge, or discard this patch.
typo3/sysext/viewpage/Classes/Controller/ViewModuleController.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,6 @@
 block discarded – undo
88 88
 
89 89
     /**
90 90
      * Register the doc header
91
-
92 91
      * @param int $pageId
93 92
      * @param int $languageId
94 93
      * @param string $targetUrl
Please login to merge, or discard this patch.