@@ -162,11 +162,11 @@ discard block |
||
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 |
||
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; |
@@ -75,28 +75,28 @@ |
||
75 | 75 | if (!$disabled) { |
76 | 76 | $html[] = $fieldInformationHtml; |
77 | 77 | } |
78 | - $html[] = '<div class="form-wizards-wrap">'; |
|
79 | - $html[] = '<div class="form-wizards-element">'; |
|
80 | - $html[] = '<div class="radio' . $disabled . '">'; |
|
81 | - $html[] = '<label for="' . $radioId . '">'; |
|
82 | - $html[] = '<input type="radio"'; |
|
83 | - $html[] = ' name="' . htmlspecialchars($this->data['parameterArray']['itemFormElName']) . '"'; |
|
84 | - $html[] = ' id="' . $radioId . '"'; |
|
85 | - $html[] = ' value="' . htmlspecialchars($value) . '"'; |
|
86 | - $html[] = $radioChecked; |
|
87 | - $html[] = $disabled; |
|
88 | - $html[] = ' onclick="' . htmlspecialchars(implode('', $this->data['parameterArray']['fieldChangeFunc'])) . '"'; |
|
89 | - $html[] = '/>'; |
|
90 | - $html[] = htmlspecialchars($this->appendValueToLabelInDebugMode($label, $value)); |
|
91 | - $html[] = '</label>'; |
|
92 | - $html[] = '</div>'; |
|
93 | - $html[] = '</div>'; |
|
78 | + $html[] = '<div class="form-wizards-wrap">'; |
|
79 | + $html[] = '<div class="form-wizards-element">'; |
|
80 | + $html[] = '<div class="radio' . $disabled . '">'; |
|
81 | + $html[] = '<label for="' . $radioId . '">'; |
|
82 | + $html[] = '<input type="radio"'; |
|
83 | + $html[] = ' name="' . htmlspecialchars($this->data['parameterArray']['itemFormElName']) . '"'; |
|
84 | + $html[] = ' id="' . $radioId . '"'; |
|
85 | + $html[] = ' value="' . htmlspecialchars($value) . '"'; |
|
86 | + $html[] = $radioChecked; |
|
87 | + $html[] = $disabled; |
|
88 | + $html[] = ' onclick="' . htmlspecialchars(implode('', $this->data['parameterArray']['fieldChangeFunc'])) . '"'; |
|
89 | + $html[] = '/>'; |
|
90 | + $html[] = htmlspecialchars($this->appendValueToLabelInDebugMode($label, $value)); |
|
91 | + $html[] = '</label>'; |
|
92 | + $html[] = '</div>'; |
|
93 | + $html[] = '</div>'; |
|
94 | 94 | if (!$disabled) { |
95 | - $html[] = '<div class="form-wizards-items-bottom">'; |
|
96 | - $html[] = $fieldWizardHtml; |
|
97 | - $html[] = '</div>'; |
|
95 | + $html[] = '<div class="form-wizards-items-bottom">'; |
|
96 | + $html[] = $fieldWizardHtml; |
|
97 | + $html[] = '</div>'; |
|
98 | 98 | } |
99 | - $html[] = '</div>'; |
|
99 | + $html[] = '</div>'; |
|
100 | 100 | $html[] = '</div>'; |
101 | 101 | } |
102 | 102 |
@@ -1415,7 +1415,7 @@ |
||
1415 | 1415 | 'jquery/autocomplete' => $corePath . 'jquery.autocomplete', |
1416 | 1416 | 'd3' => $corePath . 'd3/d3' |
1417 | 1417 | ]; |
1418 | - $requireJsConfig['waitSeconds'] = 30; |
|
1418 | + $requireJsConfig['waitSeconds'] = 30; |
|
1419 | 1419 | foreach ($loadedExtensions as $packageName) { |
1420 | 1420 | $fullJsPath = 'EXT:' . $packageName . '/Resources/Public/JavaScript/'; |
1421 | 1421 | $fullJsPath = GeneralUtility::getFileAbsFileName($fullJsPath); |
@@ -53,7 +53,7 @@ |
||
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. |
@@ -1,5 +1,5 @@ |
||
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 | /* |
@@ -81,7 +81,7 @@ |
||
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']); |
@@ -1866,7 +1866,7 @@ discard block |
||
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 |
||
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 |
||
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 | ); |
@@ -81,7 +81,7 @@ |
||
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']); |
@@ -81,7 +81,7 @@ |
||
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']); |
@@ -81,7 +81,7 @@ |
||
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']); |