@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace TYPO3\CMS\Form\Domain\Configuration; |
4 | 4 | |
5 | 5 | /* |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace TYPO3\CMS\Core\LinkHandling; |
4 | 4 | |
5 | 5 | /* |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace TYPO3\CMS\Core\Controller; |
4 | 4 | |
5 | 5 | /* |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace TYPO3\CMS\Core\Messaging; |
4 | 4 | |
5 | 5 | /* |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace TYPO3\CMS\Core\Messaging\Renderer; |
4 | 4 | |
5 | 5 | /* |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace TYPO3\CMS\Core\Migrations; |
4 | 4 | |
5 | 5 | /* |
@@ -2121,27 +2121,27 @@ |
||
2121 | 2121 | if ($control === 'browser') { |
2122 | 2122 | $fieldConfig['config']['fieldControl']['elementBrowser']['disabled'] = true; |
2123 | 2123 | $this->messages[] = 'The \'type\' = \'group\' option \'disable_controls\' = \'browser\'' |
2124 | - . ' from TCA ' . $table . '[\'columns\'][\'' . $fieldName . '\'][\'config\']' |
|
2125 | - . ' and has been migrated to' |
|
2126 | - . $table . '[\'columns\'][\'' . $fieldName . '\'][\'config\'][\'fieldControl\'][\'elementBrowser\'][\'disabled\'] = true'; |
|
2124 | + . ' from TCA ' . $table . '[\'columns\'][\'' . $fieldName . '\'][\'config\']' |
|
2125 | + . ' and has been migrated to' |
|
2126 | + . $table . '[\'columns\'][\'' . $fieldName . '\'][\'config\'][\'fieldControl\'][\'elementBrowser\'][\'disabled\'] = true'; |
|
2127 | 2127 | } elseif ($control === 'delete') { |
2128 | 2128 | $this->messages[] = 'The \'type\' = \'group\' option \'disable_controls\' = \'delete\'' |
2129 | - . ' from TCA ' . $table . '[\'columns\'][\'' . $fieldName . '\'][\'config\']' |
|
2130 | - . ' and has been migrated to' |
|
2131 | - . $table . '[\'columns\'][\' . $fieldName . \'][\'config\'][\'hideDeleteIcon\'] = true'; |
|
2129 | + . ' from TCA ' . $table . '[\'columns\'][\'' . $fieldName . '\'][\'config\']' |
|
2130 | + . ' and has been migrated to' |
|
2131 | + . $table . '[\'columns\'][\' . $fieldName . \'][\'config\'][\'hideDeleteIcon\'] = true'; |
|
2132 | 2132 | $fieldConfig['config']['hideDeleteIcon'] = true; |
2133 | 2133 | } elseif ($control === 'allowedTables') { |
2134 | 2134 | $fieldConfig['config']['fieldWizard']['tableList']['disabled'] = true; |
2135 | 2135 | $this->messages[] = 'The \'type\' = \'group\' option \'disable_controls\' = \'allowedTables\'' |
2136 | - . ' from TCA ' . $table . '[\'columns\'][\'' . $fieldName . '\'][\'config\']' |
|
2137 | - . ' and has been migrated to' |
|
2138 | - . $table . '[\'columns\'][\'' . $fieldName . '\'][\'config\'][\'fieldWizard\'][\'tableList\'][\'disabled\'] = true'; |
|
2136 | + . ' from TCA ' . $table . '[\'columns\'][\'' . $fieldName . '\'][\'config\']' |
|
2137 | + . ' and has been migrated to' |
|
2138 | + . $table . '[\'columns\'][\'' . $fieldName . '\'][\'config\'][\'fieldWizard\'][\'tableList\'][\'disabled\'] = true'; |
|
2139 | 2139 | } elseif ($control === 'upload') { |
2140 | 2140 | $fieldConfig['config']['fieldWizard']['fileUpload']['disabled'] = true; |
2141 | 2141 | $this->messages[] = 'The \'type\' = \'group\' option \'disable_controls\' = \'upload\'' |
2142 | - . ' from TCA ' . $table . '[\'columns\'][\'' . $fieldName . '\'][\'config\']' |
|
2143 | - . ' and has been migrated to' |
|
2144 | - . $table . '[\'columns\'][\'' . $fieldName . '\'][\'config\'][\'fieldWizard\'][\'fileUpload\'][\'disabled\'] = true'; |
|
2142 | + . ' from TCA ' . $table . '[\'columns\'][\'' . $fieldName . '\'][\'config\']' |
|
2143 | + . ' and has been migrated to' |
|
2144 | + . $table . '[\'columns\'][\'' . $fieldName . '\'][\'config\'][\'fieldWizard\'][\'fileUpload\'][\'disabled\'] = true'; |
|
2145 | 2145 | } |
2146 | 2146 | } |
2147 | 2147 | unset($fieldConfig['config']['disable_controls']); |
@@ -1205,7 +1205,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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">'; |
@@ -1,5 +1,5 @@ |
||
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 | /* |
@@ -1,5 +1,5 @@ |
||
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 | /* |