@@ -44,10 +44,10 @@ |
||
44 | 44 | { |
45 | 45 | return new ExpressionFunction( |
46 | 46 | 'getFormValue', |
47 | - function () { |
|
47 | + function() { |
|
48 | 48 | // Not implemented, we only use the evaluator |
49 | 49 | }, |
50 | - function ($arguments, $field) { |
|
50 | + function($arguments, $field) { |
|
51 | 51 | return $arguments['formValues'][$field] ?? null; |
52 | 52 | } |
53 | 53 | ); |
@@ -193,7 +193,7 @@ |
||
193 | 193 | if (is_array($inheritances)) { |
194 | 194 | $deprecatedMixinInheritances = array_filter( |
195 | 195 | $inheritances, |
196 | - function (string $inheritance): bool { |
|
196 | + function(string $inheritance): bool { |
|
197 | 197 | return StringUtility::beginsWith($inheritance, 'TYPO3.CMS.Form.mixins.'); |
198 | 198 | } |
199 | 199 | ); |
@@ -809,7 +809,7 @@ |
||
809 | 809 | $keys = $this->formSettings['persistenceManager']['sortByKeys'] ?? ['name', 'fileUid']; |
810 | 810 | $ascending = $this->formSettings['persistenceManager']['sortAscending'] ?? true; |
811 | 811 | |
812 | - usort($forms, function (array $a, array $b) use ($keys) { |
|
812 | + usort($forms, function(array $a, array $b) use ($keys) { |
|
813 | 813 | foreach ($keys as $key) { |
814 | 814 | if (isset($a[$key]) && isset($b[$key])) { |
815 | 815 | $diff = strcasecmp((string)$a[$key], (string)$b[$key]); |
@@ -91,7 +91,7 @@ |
||
91 | 91 | */ |
92 | 92 | protected function getApplicableStaticRoute(array $staticRouteConfiguration, Site $site, string $uriPath): ?array |
93 | 93 | { |
94 | - $routeNames = array_map(function (?string $route) use ($site) { |
|
94 | + $routeNames = array_map(function(?string $route) use ($site) { |
|
95 | 95 | if ($route === null || $route === '') { |
96 | 96 | return null; |
97 | 97 | } |
@@ -458,7 +458,7 @@ |
||
458 | 458 | $cssFileConfig['alternate'] ? 'alternate stylesheet' : 'stylesheet', |
459 | 459 | $cssFileConfig['media'] ?: 'all', |
460 | 460 | $cssFileConfig['title'] ?: '', |
461 | - $cssFileConfig['external'] || (bool)$cssFileConfig['inline'] ? false : empty($cssFileConfig['disableCompression']), |
|
461 | + $cssFileConfig['external'] || (bool)$cssFileConfig['inline'] ? false : empty($cssFileConfig['disableCompression']), |
|
462 | 462 | (bool)$cssFileConfig['forceOnTop'], |
463 | 463 | $cssFileConfig['allWrap'], |
464 | 464 | (bool)$cssFileConfig['excludeFromConcatenation'] || (bool)$cssFileConfig['inline'], |
@@ -39,9 +39,9 @@ |
||
39 | 39 | public function getFactories(): array |
40 | 40 | { |
41 | 41 | return [ |
42 | - Http\Application::class => [ static::class, 'getApplication' ], |
|
43 | - Http\RequestHandler::class => [ static::class, 'getRequestHandler' ], |
|
44 | - 'frontend.middlewares' => [ static::class, 'getFrontendMiddlewares' ], |
|
42 | + Http\Application::class => [static::class, 'getApplication'], |
|
43 | + Http\RequestHandler::class => [static::class, 'getRequestHandler'], |
|
44 | + 'frontend.middlewares' => [static::class, 'getFrontendMiddlewares'], |
|
45 | 45 | ]; |
46 | 46 | } |
47 | 47 |
@@ -56,7 +56,7 @@ |
||
56 | 56 | |
57 | 57 | public function getShortInfo(): string |
58 | 58 | { |
59 | - $errorsAndWarnings = array_filter(InMemoryLogWriter::$log, function (LogRecord $entry) { |
|
59 | + $errorsAndWarnings = array_filter(InMemoryLogWriter::$log, function(LogRecord $entry) { |
|
60 | 60 | return LogLevel::normalizeLevel($entry->getLevel()) <= 4; |
61 | 61 | }); |
62 | 62 | return sprintf($this->getLanguageService()->sL( |
@@ -85,7 +85,7 @@ |
||
85 | 85 | $intScripts = $GLOBALS['TSFE']->config['INTincScript'] ?? []; |
86 | 86 | |
87 | 87 | foreach ($intScripts as $intScriptName => $intScriptConf) { |
88 | - $info = isset($intScriptConf['type']) ? ['TYPE' => $intScriptConf['type']] : []; |
|
88 | + $info = isset($intScriptConf['type']) ? ['TYPE' => $intScriptConf['type']] : []; |
|
89 | 89 | foreach ($intScriptConf['conf'] as $key => $conf) { |
90 | 90 | if (is_array($conf)) { |
91 | 91 | $conf = ArrayUtility::flatten($conf); |
@@ -153,7 +153,7 @@ |
||
153 | 153 | 'storagePid' => implode(',', $this->getStorageFolders()), |
154 | 154 | 'permaloginStatus' => $this->getPermaloginStatus(), |
155 | 155 | 'redirectURL' => $this->redirectHandler->getLoginFormRedirectUrl($this->configuration, $this->isRedirectDisabled()), |
156 | - 'redirectReferrer' => $this->request->hasArgument('redirectReferrer') ? (string)$this->request->getArgument('redirectReferrer'): '', |
|
156 | + 'redirectReferrer' => $this->request->hasArgument('redirectReferrer') ? (string)$this->request->getArgument('redirectReferrer') : '', |
|
157 | 157 | 'referer' => $this->requestHandler->getPropertyFromGetAndPost('referer'), |
158 | 158 | 'noRedirect' => $this->isRedirectDisabled(), |
159 | 159 | ] |