@@ -195,7 +195,7 @@ |
||
| 195 | 195 | $sheetData = []; |
| 196 | 196 | $sheetData['data'] = array_filter( |
| 197 | 197 | $flexForm['data'] ?? [], |
| 198 | - function ($key) use ($sheetIdentifier) { |
|
| 198 | + function($key) use ($sheetIdentifier) { |
|
| 199 | 199 | return $key === $sheetIdentifier; |
| 200 | 200 | }, |
| 201 | 201 | ARRAY_FILTER_USE_KEY |
@@ -350,7 +350,7 @@ |
||
| 350 | 350 | |
| 351 | 351 | $availableFormDefinitions = []; |
| 352 | 352 | foreach ($this->formPersistenceManager->listForms() as $formDefinition) { |
| 353 | - $referenceCount = 0; |
|
| 353 | + $referenceCount = 0; |
|
| 354 | 354 | if ( |
| 355 | 355 | isset($formDefinition['fileUid']) |
| 356 | 356 | && array_key_exists($formDefinition['fileUid'], $allReferencesForFileUid) |
@@ -184,7 +184,7 @@ |
||
| 184 | 184 | ); |
| 185 | 185 | } |
| 186 | 186 | } |
| 187 | - } catch (NoSuchFileException|ParseErrorException $e) { |
|
| 187 | + } catch (NoSuchFileException | ParseErrorException $e) { |
|
| 188 | 188 | $dataStructure = $this->addSelectedPersistenceIdentifier($identifier['ext-form-persistenceIdentifier'], $dataStructure); |
| 189 | 189 | $this->addInvalidFrameworkConfigurationFlashMessage($e); |
| 190 | 190 | } |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | * @param ArrayProcessing[] $processings |
| 45 | 45 | * @return array |
| 46 | 46 | */ |
| 47 | - public function forEach(...$processings): array |
|
| 47 | + public function forEach (...$processings): array |
|
| 48 | 48 | { |
| 49 | 49 | $result = []; |
| 50 | 50 | |
@@ -105,7 +105,7 @@ |
||
| 105 | 105 | ArrayProcessing::class, |
| 106 | 106 | 'selectablePrototypeNames', |
| 107 | 107 | '^([\d]+)\.identifier$', |
| 108 | - function ($_, $value) { |
|
| 108 | + function($_, $value) { |
|
| 109 | 109 | return $value; |
| 110 | 110 | } |
| 111 | 111 | ) |
@@ -307,7 +307,7 @@ |
||
| 307 | 307 | // * mixed cases of the above |
| 308 | 308 | return preg_replace_callback( |
| 309 | 309 | '/{([^}]+)}/', |
| 310 | - function ($matches) use ($formRuntime) { |
|
| 310 | + function($matches) use ($formRuntime) { |
|
| 311 | 311 | $value = $this->resolveRuntimeReference( |
| 312 | 312 | $matches[1], |
| 313 | 313 | $formRuntime |
@@ -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]); |