@@ -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 |
@@ -292,7 +292,7 @@ discard block |
||
| 292 | 292 | continue; |
| 293 | 293 | } |
| 294 | 294 | |
| 295 | - usort($formElementsByGroup[$groupName], function ($a, $b) { |
|
| 295 | + usort($formElementsByGroup[$groupName], function($a, $b) { |
|
| 296 | 296 | return $a['sorting'] - $b['sorting']; |
| 297 | 297 | }); |
| 298 | 298 | unset($formElementsByGroup[$groupName]['sorting']); |
@@ -647,7 +647,7 @@ discard block |
||
| 647 | 647 | ArrayProcessing::class, |
| 648 | 648 | 'translationFile', |
| 649 | 649 | '((.+)\.translationFile)(?:\.|$)', |
| 650 | - function ($key, $value, $matches) use (&$formDefinition) { |
|
| 650 | + function($key, $value, $matches) use (&$formDefinition) { |
|
| 651 | 651 | [, $singleOptionPath, $parentOptionPath] = $matches; |
| 652 | 652 | |
| 653 | 653 | try { |
@@ -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 | ); |