@@ -414,7 +414,7 @@ discard block |
||
414 | 414 | $requestArguments = $this->request->getArguments(); |
415 | 415 | |
416 | 416 | $propertyPathsForWhichPropertyMappingShouldHappen = []; |
417 | - $registerPropertyPaths = function ($propertyPath) use (&$propertyPathsForWhichPropertyMappingShouldHappen) { |
|
417 | + $registerPropertyPaths = function($propertyPath) use (&$propertyPathsForWhichPropertyMappingShouldHappen) { |
|
418 | 418 | $propertyPathParts = explode('.', $propertyPath); |
419 | 419 | $accumulatedPropertyPathParts = []; |
420 | 420 | foreach ($propertyPathParts as $propertyPathPart) { |
@@ -462,7 +462,7 @@ discard block |
||
462 | 462 | } |
463 | 463 | |
464 | 464 | // The more parts the path has, the more early it is processed |
465 | - usort($propertyPathsForWhichPropertyMappingShouldHappen, function ($a, $b) { |
|
465 | + usort($propertyPathsForWhichPropertyMappingShouldHappen, function($a, $b) { |
|
466 | 466 | return substr_count($b, '.') - substr_count($a, '.'); |
467 | 467 | }); |
468 | 468 |
@@ -286,7 +286,7 @@ |
||
286 | 286 | // VERY simple quoting of tags is sufficient here for performance. Tags are already |
287 | 287 | // validated to not contain any bad characters, e.g. they are automatically generated |
288 | 288 | // inside this class and suffixed with a pure integer enforced by DB. |
289 | - $quotedTagList = array_map(function ($value) { |
|
289 | + $quotedTagList = array_map(function($value) { |
|
290 | 290 | return '\'' . $value . '\''; |
291 | 291 | }, $tags); |
292 | 292 |
@@ -384,10 +384,10 @@ |
||
384 | 384 | |
385 | 385 | $content = []; |
386 | 386 | $content[] = '<div class="' . implode(' ', $paletteFieldClasses) . '">'; |
387 | - $content[] = '<label class="t3js-formengine-label">'; |
|
388 | - $content[] = $label; |
|
389 | - $content[] = '</label>'; |
|
390 | - $content[] = $element['fieldHtml']; |
|
387 | + $content[] = '<label class="t3js-formengine-label">'; |
|
388 | + $content[] = $label; |
|
389 | + $content[] = '</label>'; |
|
390 | + $content[] = $element['fieldHtml']; |
|
391 | 391 | $content[] = '</div>'; |
392 | 392 | |
393 | 393 | return implode(LF, $content); |
@@ -432,7 +432,7 @@ |
||
432 | 432 | { |
433 | 433 | if (isset($wizardGroup[$key])) { |
434 | 434 | $wizardGroup[$key] = GeneralUtility::trimExplode(',', $wizardGroup[$key]); |
435 | - $wizardGroup[$key] = array_map(function ($s) { |
|
435 | + $wizardGroup[$key] = array_map(function($s) { |
|
436 | 436 | return $s . '.'; |
437 | 437 | }, $wizardGroup[$key]); |
438 | 438 | } |
@@ -194,7 +194,7 @@ discard block |
||
194 | 194 | { |
195 | 195 | return array_filter( |
196 | 196 | $record, |
197 | - function (string $propertyName): bool { |
|
197 | + function(string $propertyName): bool { |
|
198 | 198 | return $propertyName[0] !== '_'; |
199 | 199 | }, |
200 | 200 | ARRAY_FILTER_USE_KEY |
@@ -211,7 +211,7 @@ discard block |
||
211 | 211 | { |
212 | 212 | return array_filter( |
213 | 213 | $propertyNames, |
214 | - function (string $propertyName): bool { |
|
214 | + function(string $propertyName): bool { |
|
215 | 215 | return $propertyName[0] !== '_'; |
216 | 216 | } |
217 | 217 | ); |
@@ -418,8 +418,8 @@ |
||
418 | 418 | if (!$statement) { |
419 | 419 | $queryBuilder = static::getQueryBuilderForTable('pages'); |
420 | 420 | $queryBuilder->getRestrictions() |
421 | - ->removeAll() |
|
422 | - ->add(GeneralUtility::makeInstance(DeletedRestriction::class)); |
|
421 | + ->removeAll() |
|
422 | + ->add(GeneralUtility::makeInstance(DeletedRestriction::class)); |
|
423 | 423 | |
424 | 424 | $queryBuilder |
425 | 425 | ->select( |
@@ -248,7 +248,7 @@ |
||
248 | 248 | continue; |
249 | 249 | } |
250 | 250 | |
251 | - usort($formElementsByGroup[$groupName], function ($a, $b) { |
|
251 | + usort($formElementsByGroup[$groupName], function($a, $b) { |
|
252 | 252 | return $a['sorting'] - $b['sorting']; |
253 | 253 | }); |
254 | 254 | unset($formElementsByGroup[$groupName]['sorting']); |
@@ -240,7 +240,7 @@ |
||
240 | 240 | } |
241 | 241 | |
242 | 242 | // Normalize all items to "<table>_<uid>" format |
243 | - $currentValue = array_map(function ($item) { |
|
243 | + $currentValue = array_map(function($item) { |
|
244 | 244 | // Handle per-item table for "group" elements |
245 | 245 | if (is_array($item)) { |
246 | 246 | $item = $item['table'] . '_' . $item['uid']; |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | 'dependencies' => $this->locales->getLocaleDependencies($iso), |
91 | 91 | ]; |
92 | 92 | } |
93 | - usort($languages, function ($a, $b) { |
|
93 | + usort($languages, function($a, $b) { |
|
94 | 94 | // Sort languages by name |
95 | 95 | if ($a['name'] === $b['name']) { |
96 | 96 | return 0; |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | } |
152 | 152 | $extensions[] = $extension; |
153 | 153 | } |
154 | - usort($extensions, function ($a, $b) { |
|
154 | + usort($extensions, function($a, $b) { |
|
155 | 155 | // Sort extensions by key |
156 | 156 | if ($a['key'] === $b['key']) { |
157 | 157 | return 0; |
@@ -105,9 +105,9 @@ |
||
105 | 105 | |
106 | 106 | return !isset($result['maintained_until']) || |
107 | 107 | ( |
108 | - new \DateTimeImmutable($result['maintained_until']) >= |
|
109 | - new \DateTimeImmutable('now', new \DateTimeZone('UTC')) |
|
110 | - ); |
|
108 | + new \DateTimeImmutable($result['maintained_until']) >= |
|
109 | + new \DateTimeImmutable('now', new \DateTimeZone('UTC')) |
|
110 | + ); |
|
111 | 111 | } |
112 | 112 | |
113 | 113 | /** |