Completed
Branch master (e6f3a4)
by Christian
19:09
created
typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1480,7 +1480,7 @@
 block discarded – undo
1480 1480
         }
1481 1481
 
1482 1482
         $tagAttributes = array_map(
1483
-            function ($attributeValue) {
1483
+            function($attributeValue) {
1484 1484
                 if (is_array($attributeValue)) {
1485 1485
                     return implode(' ', $attributeValue);
1486 1486
                 }
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/View/PageLayoutView.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1211,7 +1211,7 @@
 block discarded – undo
1211 1211
                         ) {
1212 1212
                             if (!$hideRestrictedCols) {
1213 1213
                                 $grid .= $this->tt_content_drawColHeader($this->getLanguageService()->sL($columnConfig['name']) .
1214
-                                  ' (' . $this->getLanguageService()->getLL('noAccess') . ')');
1214
+                                    ' (' . $this->getLanguageService()->getLL('noAccess') . ')');
1215 1215
                             }
1216 1216
                         } elseif (isset($columnConfig['name']) && $columnConfig['name'] !== '') {
1217 1217
                             $grid .= $this->tt_content_drawColHeader($this->getLanguageService()->sL($columnConfig['name'])
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1342,7 +1342,7 @@  discard block
 block discarded – undo
1342 1342
                     );
1343 1343
 
1344 1344
                     $defaultLanguageElements = [];
1345
-                    array_walk($defaultLanguageElementsByColumn, function (array $columnContent) use (&$defaultLanguageElements) {
1345
+                    array_walk($defaultLanguageElementsByColumn, function(array $columnContent) use (&$defaultLanguageElements) {
1346 1346
                         $defaultLanguageElements = array_merge($defaultLanguageElements, $columnContent);
1347 1347
                     });
1348 1348
 
@@ -2295,7 +2295,7 @@  discard block
 block discarded – undo
2295 2295
                 default:
2296 2296
                     $contentType = $this->CType_labels[$row['CType']];
2297 2297
                     if (!isset($contentType)) {
2298
-                        $contentType =  BackendUtility::getLabelFromItemListMerged($row['pid'], 'tt_content', 'CType', $row['CType']);
2298
+                        $contentType = BackendUtility::getLabelFromItemListMerged($row['pid'], 'tt_content', 'CType', $row['CType']);
2299 2299
                     }
2300 2300
 
2301 2301
                     if ($contentType) {
Please login to merge, or discard this patch.
typo3/sysext/linkvalidator/Classes/Report/LinkValidatorReport.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -185,13 +185,13 @@
 block discarded – undo
185 185
                 } else {
186 186
                     $this->checkOpt[$prefix][$linkType] = '0';
187 187
                 }
188
-                $this->pObj->MOD_SETTINGS[$prefix . '_' . $linkType] =  $this->checkOpt[$prefix][$linkType];
188
+                $this->pObj->MOD_SETTINGS[$prefix . '_' . $linkType] = $this->checkOpt[$prefix][$linkType];
189 189
             } elseif (isset($this->pObj->MOD_SETTINGS[$prefix . '_' . $linkType])) {
190 190
                 $this->checkOpt[$prefix][$linkType] = $this->pObj->MOD_SETTINGS[$prefix . '_' . $linkType];
191 191
             } else {
192 192
                 // use default
193 193
                 $this->checkOpt[$prefix][$linkType] = '0';
194
-                $this->pObj->MOD_SETTINGS[$prefix . '_' . $linkType] =  $this->checkOpt[$prefix][$linkType];
194
+                $this->pObj->MOD_SETTINGS[$prefix . '_' . $linkType] = $this->checkOpt[$prefix][$linkType];
195 195
             }
196 196
             if (isset($this->pObj->MOD_SETTINGS[$other . '_' . $linkType])) {
197 197
                 $this->checkOpt[$other][$linkType] = $this->pObj->MOD_SETTINGS[$other . '_' . $linkType];
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Utility/ArrayUtility.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
         // Define a lambda function to be applied to all members of this array dimension
107 107
         // Call recursive if current value is of type array
108 108
         // Write to $resultArray (by reference!) if types and value match
109
-        $callback = function (&$value, $key) use ($needle, &$resultArray) {
109
+        $callback = function(&$value, $key) use ($needle, &$resultArray) {
110 110
             if ($value === $needle) {
111 111
                 $resultArray[$key] = $value;
112 112
             } elseif (is_array($value)) {
@@ -371,7 +371,7 @@  discard block
 block discarded – undo
371 371
         if (empty($arrays)) {
372 372
             return $arrays;
373 373
         }
374
-        $sortResult = uasort($arrays, function (array $a, array $b) use ($key, $ascending) {
374
+        $sortResult = uasort($arrays, function(array $a, array $b) use ($key, $ascending) {
375 375
             if (!isset($a[$key]) || !isset($b[$key])) {
376 376
                 throw new \RuntimeException('The specified sorting key "' . $key . '" is not available in the given array.', 1373727309);
377 377
             }
@@ -847,7 +847,7 @@  discard block
 block discarded – undo
847 847
      */
848 848
     public static function filterRecursive(array $array, callable $callback = null): array
849 849
     {
850
-        $callback = $callback ?: function ($value) {
850
+        $callback = $callback ?: function($value) {
851 851
             return (bool)$value;
852 852
         };
853 853
 
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Core/Bootstrap.php 1 patch
Switch Indentation   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -162,11 +162,11 @@  discard block
 block discarded – undo
162 162
                 }
163 163
 
164 164
                 switch ($id) {
165
-                case \TYPO3\CMS\Frontend\Http\Application::class:
166
-                case \TYPO3\CMS\Backend\Http\Application::class:
167
-                case \TYPO3\CMS\Install\Http\Application::class:
168
-                case \TYPO3\CMS\Core\Console\CommandApplication::class:
169
-                    return true;
165
+                    case \TYPO3\CMS\Frontend\Http\Application::class:
166
+                    case \TYPO3\CMS\Backend\Http\Application::class:
167
+                    case \TYPO3\CMS\Install\Http\Application::class:
168
+                    case \TYPO3\CMS\Core\Console\CommandApplication::class:
169
+                        return true;
170 170
                 }
171 171
 
172 172
                 return false;
@@ -188,23 +188,23 @@  discard block
 block discarded – undo
188 188
                 }
189 189
 
190 190
                 switch ($id) {
191
-                case \TYPO3\CMS\Frontend\Http\Application::class:
192
-                case \TYPO3\CMS\Backend\Http\Application::class:
193
-                    $entry = new $id($this->get(ConfigurationManager::class));
194
-                    break;
195
-                case \TYPO3\CMS\Install\Http\Application::class:
196
-                    $entry = new $id(
197
-                        GeneralUtility::makeInstance(\TYPO3\CMS\Install\Http\RequestHandler::class, $this->get(ConfigurationManager::class)),
198
-                        GeneralUtility::makeInstance(\TYPO3\CMS\Install\Http\InstallerRequestHandler::class)
199
-                    );
200
-                    break;
201
-                case \TYPO3\CMS\Core\Console\CommandApplication::class:
202
-                    $entry = new $id;
203
-                    break;
204
-                default:
205
-                    throw new class($id . ' not found', 1518638338) extends \Exception implements NotFoundExceptionInterface {
206
-                    };
207
-                    break;
191
+                    case \TYPO3\CMS\Frontend\Http\Application::class:
192
+                    case \TYPO3\CMS\Backend\Http\Application::class:
193
+                        $entry = new $id($this->get(ConfigurationManager::class));
194
+                        break;
195
+                    case \TYPO3\CMS\Install\Http\Application::class:
196
+                        $entry = new $id(
197
+                            GeneralUtility::makeInstance(\TYPO3\CMS\Install\Http\RequestHandler::class, $this->get(ConfigurationManager::class)),
198
+                            GeneralUtility::makeInstance(\TYPO3\CMS\Install\Http\InstallerRequestHandler::class)
199
+                        );
200
+                        break;
201
+                    case \TYPO3\CMS\Core\Console\CommandApplication::class:
202
+                        $entry = new $id;
203
+                        break;
204
+                    default:
205
+                        throw new class($id . ' not found', 1518638338) extends \Exception implements NotFoundExceptionInterface {
206
+                        };
207
+                        break;
208 208
                 }
209 209
 
210 210
                 $this->entries[$id] = $entry;
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Controller/Wizard/TableController.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
         'TABLECFG' => 'Using $TABLECFG of class TableController from the outside is discouraged, as this variable is only used for internal storage.',
54 54
         'tableParsing_quote' => 'Using $tableParsing_quote of class TableController from the outside is discouraged, as this variable is only used for internal storage.',
55 55
         'tableParsing_delimiter' => 'Using $tableParsing_delimiter of class TableController from the outside is discouraged, as this variable is only used for internal storage.',
56
-     ];
56
+        ];
57 57
 
58 58
     /**
59 59
      * Content accumulation for the module.
Please login to merge, or discard this 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\Backend\Controller\Wizard;
4 4
 
5 5
 /*
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Resource/Rendering/VideoTagRenderer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
             $attributes[] = GeneralUtility::implodeAttributes($options['additionalAttributes'], true, true);
82 82
         }
83 83
         if (isset($options['data']) && is_array($options['data'])) {
84
-            array_walk($options['data'], function (&$value, $key) {
84
+            array_walk($options['data'], function(&$value, $key) {
85 85
                 $value = 'data-' . htmlspecialchars($key) . '="' . htmlspecialchars($value) . '"';
86 86
             });
87 87
             $attributes[] = implode(' ', $options['data']);
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1866,7 +1866,7 @@  discard block
 block discarded – undo
1866 1866
                 $userGroupRecordPermissions = GeneralUtility::trimExplode(',', $this->groupData['file_permissions'] ?? '', true);
1867 1867
                 array_walk(
1868 1868
                     $userGroupRecordPermissions,
1869
-                    function ($permission) use (&$filePermissions) {
1869
+                    function($permission) use (&$filePermissions) {
1870 1870
                         $filePermissions[$permission] = true;
1871 1871
                     }
1872 1872
                 );
@@ -1876,7 +1876,7 @@  discard block
 block discarded – undo
1876 1876
                 if (!empty($permissionsTsConfig)) {
1877 1877
                     array_walk(
1878 1878
                         $permissionsTsConfig,
1879
-                        function ($value, $permission) use (&$filePermissions) {
1879
+                        function($value, $permission) use (&$filePermissions) {
1880 1880
                             $filePermissions[$permission] = (bool)$value;
1881 1881
                         }
1882 1882
                     );
@@ -1905,7 +1905,7 @@  discard block
 block discarded – undo
1905 1905
             if (!empty($storageFilePermissions)) {
1906 1906
                 array_walk(
1907 1907
                     $storageFilePermissions,
1908
-                    function ($value, $permission) use (&$finalUserPermissions) {
1908
+                    function($value, $permission) use (&$finalUserPermissions) {
1909 1909
                         $finalUserPermissions[$permission] = (bool)$value;
1910 1910
                     }
1911 1911
                 );
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Resource/Rendering/AudioTagRenderer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
             $additionalAttributes[] = GeneralUtility::implodeAttributes($options['additionalAttributes'], true, true);
82 82
         }
83 83
         if (isset($options['data']) && is_array($options['data'])) {
84
-            array_walk($options['data'], function (&$value, $key) {
84
+            array_walk($options['data'], function(&$value, $key) {
85 85
                 $value = 'data-' . htmlspecialchars($key) . '="' . htmlspecialchars($value) . '"';
86 86
             });
87 87
             $additionalAttributes[] = implode(' ', $options['data']);
Please login to merge, or discard this patch.