@@ -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 | ] |
@@ -132,28 +132,28 @@ |
||
132 | 132 | |
133 | 133 | $html = []; |
134 | 134 | $html[] = '<div class="formengine-field-item t3js-formengine-field-item">'; |
135 | - $html[] = $fieldInformationHtml; |
|
136 | - $html[] = '<div class="form-control-wrap">'; |
|
137 | - $html[] = '<div class="form-wizards-wrap">'; |
|
138 | - $html[] = '<div class="form-wizards-element">'; |
|
139 | - $html[] = '<textarea ' . GeneralUtility::implodeAttributes($attributes, true) . '>'; |
|
140 | - $html[] = htmlspecialchars($value); |
|
141 | - $html[] = '</textarea>'; |
|
142 | - $html[] = '</div>'; |
|
135 | + $html[] = $fieldInformationHtml; |
|
136 | + $html[] = '<div class="form-control-wrap">'; |
|
137 | + $html[] = '<div class="form-wizards-wrap">'; |
|
138 | + $html[] = '<div class="form-wizards-element">'; |
|
139 | + $html[] = '<textarea ' . GeneralUtility::implodeAttributes($attributes, true) . '>'; |
|
140 | + $html[] = htmlspecialchars($value); |
|
141 | + $html[] = '</textarea>'; |
|
142 | + $html[] = '</div>'; |
|
143 | 143 | if (!empty($fieldControlHtml)) { |
144 | - $html[] = '<div class="form-wizards-items-aside">'; |
|
145 | - $html[] = '<div class="btn-group">'; |
|
146 | - $html[] = $fieldControlHtml; |
|
147 | - $html[] = '</div>'; |
|
148 | - $html[] = '</div>'; |
|
144 | + $html[] = '<div class="form-wizards-items-aside">'; |
|
145 | + $html[] = '<div class="btn-group">'; |
|
146 | + $html[] = $fieldControlHtml; |
|
147 | + $html[] = '</div>'; |
|
148 | + $html[] = '</div>'; |
|
149 | 149 | } |
150 | 150 | if (!empty($fieldWizardHtml)) { |
151 | 151 | $html[] = '<div class="form-wizards-items-bottom">'; |
152 | 152 | $html[] = $fieldWizardHtml; |
153 | 153 | $html[] = '</div>'; |
154 | 154 | } |
155 | - $html[] = '</div>'; |
|
156 | - $html[] = '</div>'; |
|
155 | + $html[] = '</div>'; |
|
156 | + $html[] = '</div>'; |
|
157 | 157 | $html[] = '</div>'; |
158 | 158 | |
159 | 159 | $resultArray['html'] = implode(LF, $html); |
@@ -138,7 +138,7 @@ |
||
138 | 138 | ]; |
139 | 139 | while ($row = $statement->fetch()) { |
140 | 140 | $result[$row['link_type']] = $row['amount']; |
141 | - $result['total']+= $row['amount']; |
|
141 | + $result['total'] += $row['amount']; |
|
142 | 142 | } |
143 | 143 | return $result; |
144 | 144 | } |