@@ -200,7 +200,7 @@ |
||
| 200 | 200 | // keeping positions having argument values that are not null |
| 201 | 201 | $unusedArgumentPositions = array_filter( |
| 202 | 202 | $unusedArgumentPositions, |
| 203 | - function (int $position) use ($arguments) { |
|
| 203 | + function(int $position) use ($arguments) { |
|
| 204 | 204 | $index = $position - 1; |
| 205 | 205 | return isset($arguments[$index]->value) |
| 206 | 206 | && !$arguments[$index]->value instanceof ConstFetch |
@@ -142,16 +142,16 @@ |
||
| 142 | 142 | $html = []; |
| 143 | 143 | $html[] = '<div class="formengine-field-item t3js-formengine-field-item">'; |
| 144 | 144 | $html[] = $fieldInformationHtml; |
| 145 | - $html[] = '<div class="form-wizards-wrap">'; |
|
| 146 | - $html[] = '<div class="form-wizards-element">'; |
|
| 147 | - $html[] = $elementHtml; |
|
| 148 | - $html[] = '</div>'; |
|
| 145 | + $html[] = '<div class="form-wizards-wrap">'; |
|
| 146 | + $html[] = '<div class="form-wizards-element">'; |
|
| 147 | + $html[] = $elementHtml; |
|
| 148 | + $html[] = '</div>'; |
|
| 149 | 149 | if (!$disabled && !empty($fieldWizardHtml)) { |
| 150 | - $html[] = '<div class="form-wizards-items-bottom">'; |
|
| 151 | - $html[] = $fieldWizardHtml; |
|
| 152 | - $html[] = '</div>'; |
|
| 150 | + $html[] = '<div class="form-wizards-items-bottom">'; |
|
| 151 | + $html[] = $fieldWizardHtml; |
|
| 152 | + $html[] = '</div>'; |
|
| 153 | 153 | } |
| 154 | - $html[] = '</div>'; |
|
| 154 | + $html[] = '</div>'; |
|
| 155 | 155 | $html[] = '</div>'; |
| 156 | 156 | |
| 157 | 157 | $resultArray['html'] = implode(LF, $html); |
@@ -142,16 +142,16 @@ |
||
| 142 | 142 | $html = []; |
| 143 | 143 | $html[] = '<div class="formengine-field-item t3js-formengine-field-item">'; |
| 144 | 144 | $html[] = $fieldInformationHtml; |
| 145 | - $html[] = '<div class="form-wizards-wrap">'; |
|
| 146 | - $html[] = '<div class="form-wizards-element">'; |
|
| 147 | - $html[] = $elementHtml; |
|
| 148 | - $html[] = '</div>'; |
|
| 145 | + $html[] = '<div class="form-wizards-wrap">'; |
|
| 146 | + $html[] = '<div class="form-wizards-element">'; |
|
| 147 | + $html[] = $elementHtml; |
|
| 148 | + $html[] = '</div>'; |
|
| 149 | 149 | if (!$disabled && !empty($fieldWizardHtml)) { |
| 150 | - $html[] = '<div class="form-wizards-items-bottom">'; |
|
| 151 | - $html[] = $fieldWizardHtml; |
|
| 152 | - $html[] = '</div>'; |
|
| 150 | + $html[] = '<div class="form-wizards-items-bottom">'; |
|
| 151 | + $html[] = $fieldWizardHtml; |
|
| 152 | + $html[] = '</div>'; |
|
| 153 | 153 | } |
| 154 | - $html[] = '</div>'; |
|
| 154 | + $html[] = '</div>'; |
|
| 155 | 155 | $html[] = '</div>'; |
| 156 | 156 | |
| 157 | 157 | $resultArray['html'] = implode(LF, $html); |
@@ -292,7 +292,7 @@ discard block |
||
| 292 | 292 | $direction = strtolower($direction); |
| 293 | 293 | @usort( |
| 294 | 294 | $items, |
| 295 | - function ($item1, $item2) use ($direction) { |
|
| 295 | + function($item1, $item2) use ($direction) { |
|
| 296 | 296 | if ($direction === 'desc') { |
| 297 | 297 | return strcasecmp($item1[0], $item2[0]) <= 0; |
| 298 | 298 | } |
@@ -304,7 +304,7 @@ discard block |
||
| 304 | 304 | $direction = strtolower($direction); |
| 305 | 305 | @usort( |
| 306 | 306 | $items, |
| 307 | - function ($item1, $item2) use ($direction) { |
|
| 307 | + function($item1, $item2) use ($direction) { |
|
| 308 | 308 | if ($direction === 'desc') { |
| 309 | 309 | return strcasecmp($item1[1], $item2[1]) <= 0; |
| 310 | 310 | } |
@@ -189,7 +189,7 @@ |
||
| 189 | 189 | // All implementations of getTreeList allow to pass the ids negative to include them into the result |
| 190 | 190 | // otherwise only childpages are returned |
| 191 | 191 | $storagePids = GeneralUtility::intExplode(',', $frameworkConfiguration['persistence']['storagePid']); |
| 192 | - array_walk($storagePids, function (&$storagePid) { |
|
| 192 | + array_walk($storagePids, function(&$storagePid) { |
|
| 193 | 193 | if ($storagePid > 0) { |
| 194 | 194 | $storagePid = -$storagePid; |
| 195 | 195 | } |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | // check for required options being set |
| 62 | 62 | array_walk( |
| 63 | 63 | $this->supportedOptions, |
| 64 | - function ($supportedOptionData, $supportedOptionName, $options) { |
|
| 64 | + function($supportedOptionData, $supportedOptionName, $options) { |
|
| 65 | 65 | if (isset($supportedOptionData[3]) && !array_key_exists($supportedOptionName, $options)) { |
| 66 | 66 | throw new InvalidValidationOptionsException('Required validation option not set: ' . $supportedOptionName, 1339163922); |
| 67 | 67 | } |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | // merge with default values |
| 73 | 73 | $this->options = array_merge( |
| 74 | 74 | array_map( |
| 75 | - function ($value) { |
|
| 75 | + function($value) { |
|
| 76 | 76 | return $value[0]; |
| 77 | 77 | }, |
| 78 | 78 | $this->supportedOptions |
@@ -145,7 +145,7 @@ discard block |
||
| 145 | 145 | /** @var \TYPO3\CMS\Core\Log\Writer\WriterInterface $logWriter */ |
| 146 | 146 | $logWriter = GeneralUtility::makeInstance($logWriterClassName, $logWriterOptions); |
| 147 | 147 | $logger->addWriter($severityLevel, $logWriter); |
| 148 | - } catch (InvalidArgumentException|InvalidLogWriterConfigurationException $e) { |
|
| 148 | + } catch (InvalidArgumentException | InvalidLogWriterConfigurationException $e) { |
|
| 149 | 149 | $logger->warning('Instantiation of LogWriter "' . $logWriterClassName . '" failed for logger ' . $logger->getName() . ' (' . $e->getMessage() . ')'); |
| 150 | 150 | } |
| 151 | 151 | } |
@@ -166,7 +166,7 @@ discard block |
||
| 166 | 166 | /** @var \TYPO3\CMS\Core\Log\Processor\ProcessorInterface $logProcessor */ |
| 167 | 167 | $logProcessor = GeneralUtility::makeInstance($logProcessorClassName, $logProcessorOptions); |
| 168 | 168 | $logger->addProcessor($severityLevel, $logProcessor); |
| 169 | - } catch (InvalidArgumentException|InvalidLogProcessorConfigurationException $e) { |
|
| 169 | + } catch (InvalidArgumentException | InvalidLogProcessorConfigurationException $e) { |
|
| 170 | 170 | $logger->warning('Instantiation of LogProcessor "' . $logProcessorClassName . '" failed for logger ' . $logger->getName() . ' (' . $e->getMessage() . ')'); |
| 171 | 171 | } |
| 172 | 172 | } |
@@ -403,7 +403,7 @@ |
||
| 403 | 403 | try { |
| 404 | 404 | $packagePath = PathUtility::sanitizeTrailingSeparator($this->packagesBasePath . $stateConfiguration['packagePath']); |
| 405 | 405 | $package = new Package($this, $packageKey, $packagePath); |
| 406 | - } catch (InvalidPackagePathException|InvalidPackageKeyException|InvalidPackageManifestException $exception) { |
|
| 406 | + } catch (InvalidPackagePathException | InvalidPackageKeyException | InvalidPackageManifestException $exception) { |
|
| 407 | 407 | $this->unregisterPackageByPackageKey($packageKey); |
| 408 | 408 | $packageStatesHasChanged = true; |
| 409 | 409 | continue; |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | public function renderTceformsSelectDropdown(&$PA) |
| 44 | 44 | { |
| 45 | 45 | $allowedStorageIds = array_map( |
| 46 | - function (ResourceStorage $storage) { |
|
| 46 | + function(ResourceStorage $storage) { |
|
| 47 | 47 | return $storage->getUid(); |
| 48 | 48 | }, |
| 49 | 49 | $this->getBackendUserAuthentication()->getFileStorages() |