Passed
Branch master (311f62)
by Christian
15:56
created
typo3/sysext/core/Classes/Database/QueryGenerator.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1205,7 +1205,7 @@  discard block
 block discarded – undo
1205 1205
         $retArr = [];
1206 1206
         while (is_array($arr)) {
1207 1207
             reset($arr);
1208
-            list($key, ) = each($arr);
1208
+            list($key,) = each($arr);
1209 1209
             $retArr[] = $key;
1210 1210
             $arr = $arr[$key];
1211 1211
         }
@@ -1399,7 +1399,7 @@  discard block
 block discarded – undo
1399 1399
         if (in_array('table', $enableArr) && !$backendUserAuthentication->userTS['mod.']['dbint.']['disableSelectATable']) {
1400 1400
             $out[] = '<div class="form-group">';
1401 1401
             $out[] = '	<label for="SET[queryTable]">Select a table:</label>';
1402
-            $out[] =    $this->mkTableSelect('SET[queryTable]', $this->table);
1402
+            $out[] = $this->mkTableSelect('SET[queryTable]', $this->table);
1403 1403
             $out[] = '</div>';
1404 1404
         }
1405 1405
         if ($this->table) {
@@ -1439,19 +1439,19 @@  discard block
 block discarded – undo
1439 1439
             if (in_array('fields', $enableArr) && !$backendUserAuthentication->userTS['mod.']['dbint.']['disableSelectFields']) {
1440 1440
                 $out[] = '<div class="form-group form-group-with-button-addon">';
1441 1441
                 $out[] = '	<label for="SET[queryFields]">Select fields:</label>';
1442
-                $out[] =    $this->mkFieldToInputSelect('SET[queryFields]', $this->extFieldLists['queryFields']);
1442
+                $out[] = $this->mkFieldToInputSelect('SET[queryFields]', $this->extFieldLists['queryFields']);
1443 1443
                 $out[] = '</div>';
1444 1444
             }
1445 1445
             if (in_array('query', $enableArr) && !$backendUserAuthentication->userTS['mod.']['dbint.']['disableMakeQuery']) {
1446 1446
                 $out[] = '<div class="form-group">';
1447 1447
                 $out[] = '	<label>Make Query:</label>';
1448
-                $out[] =    $queryCode;
1448
+                $out[] = $queryCode;
1449 1449
                 $out[] = '</div>';
1450 1450
             }
1451 1451
             if (in_array('group', $enableArr) && !$backendUserAuthentication->userTS['mod.']['dbint.']['disableGroupBy']) {
1452 1452
                 $out[] = '<div class="form-group form-inline">';
1453 1453
                 $out[] = '	<label for="SET[queryGroup]">Group By:</label>';
1454
-                $out[] =     $this->mkTypeSelect('SET[queryGroup]', $this->extFieldLists['queryGroup'], '');
1454
+                $out[] = $this->mkTypeSelect('SET[queryGroup]', $this->extFieldLists['queryGroup'], '');
1455 1455
                 $out[] = '</div>';
1456 1456
             }
1457 1457
             if (in_array('order', $enableArr) && !$backendUserAuthentication->userTS['mod.']['dbint.']['disableOrderBy']) {
@@ -1461,7 +1461,7 @@  discard block
 block discarded – undo
1461 1461
                 $orderBy[] = $this->mkTypeSelect('SET[queryOrder]', $orderByArr[0], '');
1462 1462
                 $orderBy[] = '<div class="checkbox">';
1463 1463
                 $orderBy[] = '	<label for="checkQueryOrderDesc">';
1464
-                $orderBy[] =        BackendUtility::getFuncCheck($module->id, 'SET[queryOrderDesc]', $modSettings['queryOrderDesc'], '', '', 'id="checkQueryOrderDesc"') . ' Descending';
1464
+                $orderBy[] = BackendUtility::getFuncCheck($module->id, 'SET[queryOrderDesc]', $modSettings['queryOrderDesc'], '', '', 'id="checkQueryOrderDesc"') . ' Descending';
1465 1465
                 $orderBy[] = '	</label>';
1466 1466
                 $orderBy[] = '</div>';
1467 1467
 
@@ -1469,13 +1469,13 @@  discard block
 block discarded – undo
1469 1469
                     $orderBy[] = $this->mkTypeSelect('SET[queryOrder2]', $orderByArr[1], '');
1470 1470
                     $orderBy[] = '<div class="checkbox">';
1471 1471
                     $orderBy[] = '	<label for="checkQueryOrder2Desc">';
1472
-                    $orderBy[] =        BackendUtility::getFuncCheck($module->id, 'SET[queryOrder2Desc]', $modSettings['queryOrder2Desc'], '', '', 'id="checkQueryOrder2Desc"') . ' Descending';
1472
+                    $orderBy[] = BackendUtility::getFuncCheck($module->id, 'SET[queryOrder2Desc]', $modSettings['queryOrder2Desc'], '', '', 'id="checkQueryOrder2Desc"') . ' Descending';
1473 1473
                     $orderBy[] = '	</label>';
1474 1474
                     $orderBy[] = '</div>';
1475 1475
                 }
1476 1476
                 $out[] = '<div class="form-group form-inline">';
1477 1477
                 $out[] = '	<label>Order By:</label>';
1478
-                $out[] =     implode(LF, $orderBy);
1478
+                $out[] = implode(LF, $orderBy);
1479 1479
                 $out[] = '</div>';
1480 1480
             }
1481 1481
             if (in_array('limit', $enableArr) && !$backendUserAuthentication->userTS['mod.']['dbint.']['disableLimit']) {
@@ -1511,11 +1511,11 @@  discard block
 block discarded – undo
1511 1511
                 $out[] = '<div class="form-group form-group-with-button-addon">';
1512 1512
                 $out[] = '	<label>Limit:</label>';
1513 1513
                 $out[] = '	<div class="form-inline">';
1514
-                $out[] =        implode(LF, $limit);
1514
+                $out[] = implode(LF, $limit);
1515 1515
                 $out[] = '		<div class="input-group">';
1516 1516
                 $out[] = '			<div class="btn-group t3js-limit-submit">';
1517
-                $out[] =                $prevButton;
1518
-                $out[] =                $nextButton;
1517
+                $out[] = $prevButton;
1518
+                $out[] = $nextButton;
1519 1519
                 $out[] = '			</div>';
1520 1520
                 $out[] = '			<div class="btn-group t3js-limit-submit">';
1521 1521
                 $out[] = '				<input type="button" class="btn btn-default" data-value="10" value="10">';
Please login to merge, or discard this patch.
sysext/core/Classes/Database/Query/Restriction/StartTimeRestriction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace TYPO3\CMS\Core\Database\Query\Restriction;
4 4
 
5 5
 /*
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Database/Query/QueryBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace TYPO3\CMS\Core\Database\Query;
4 4
 
5 5
 /*
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Database/Query/Expression/ExpressionBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace TYPO3\CMS\Core\Database\Query\Expression;
4 4
 
5 5
 /*
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Database/Connection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace TYPO3\CMS\Core\Database;
4 4
 
5 5
 /*
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Database/Schema/Comparator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace TYPO3\CMS\Core\Database\Schema;
4 4
 
5 5
 /*
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Database/Schema/Parser/Parser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace TYPO3\CMS\Core\Database\Schema\Parser;
5 5
 
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Database/Schema/Parser/AST/CreateTableClause.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace TYPO3\CMS\Core\Database\Schema\Parser\AST;
5 5
 
Please login to merge, or discard this patch.
sysext/core/Classes/Database/Schema/Parser/AST/DataType/NumericDataType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace TYPO3\CMS\Core\Database\Schema\Parser\AST\DataType;
5 5
 
Please login to merge, or discard this patch.