@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | public function splitIntoBlock($tag, $content, $eliminateExtraEndTags = false) |
52 | 52 | { |
53 | 53 | $tags = array_unique(GeneralUtility::trimExplode(',', $tag, true)); |
54 | - array_walk($tags, function (&$tag) { |
|
54 | + array_walk($tags, function(&$tag) { |
|
55 | 55 | $tag = preg_quote($tag, '/'); |
56 | 56 | }); |
57 | 57 | $regexStr = '/\\<\\/?(' . implode('|', $tags) . ')(\\s*\\>|\\s[^\\>]*\\>)/si'; |
@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | public function splitTags($tag, $content) |
158 | 158 | { |
159 | 159 | $tags = GeneralUtility::trimExplode(',', $tag, true); |
160 | - array_walk($tags, function (&$tag) { |
|
160 | + array_walk($tags, function(&$tag) { |
|
161 | 161 | $tag = preg_quote($tag, '/'); |
162 | 162 | }); |
163 | 163 | $regexStr = '/\\<(' . implode('|', $tags) . ')(\\s[^>]*)?\\/?>/si'; |
@@ -832,7 +832,7 @@ discard block |
||
832 | 832 | if ($cacheKey && isset($this->caseShift_cache[$cacheKey])) { |
833 | 833 | $str = $this->caseShift_cache[$cacheKey]; |
834 | 834 | } else { |
835 | - array_walk($str, function (&$value) { |
|
835 | + array_walk($str, function(&$value) { |
|
836 | 836 | $value = strtoupper($value); |
837 | 837 | }); |
838 | 838 | if ($cacheKey) { |
@@ -256,7 +256,7 @@ discard block |
||
256 | 256 | implode( |
257 | 257 | ', ', |
258 | 258 | array_map( |
259 | - function ($column) use ($connection) { |
|
259 | + function($column) use ($connection) { |
|
260 | 260 | return $connection->quoteIdentifier($column); |
261 | 261 | }, |
262 | 262 | $this->columns |
@@ -272,7 +272,7 @@ discard block |
||
272 | 272 | implode( |
273 | 273 | '), (', |
274 | 274 | array_map( |
275 | - function (array $valueSet) { |
|
275 | + function(array $valueSet) { |
|
276 | 276 | return implode(', ', $valueSet); |
277 | 277 | }, |
278 | 278 | $this->values |
@@ -228,7 +228,7 @@ |
||
228 | 228 | } |
229 | 229 | } |
230 | 230 | |
231 | - uasort($allowedStages, function (StageRecord $first, StageRecord $second) { |
|
231 | + uasort($allowedStages, function(StageRecord $first, StageRecord $second) { |
|
232 | 232 | return $first->determineOrder($second); |
233 | 233 | }); |
234 | 234 | return $this->prepareStagesArray($allowedStages); |
@@ -166,7 +166,7 @@ |
||
166 | 166 | $connection = $connectionPool->getConnectionByName($connectionName); |
167 | 167 | $tablesOnConnection = array_keys(array_filter( |
168 | 168 | $tableMap, |
169 | - function ($value) use ($connectionName) { |
|
169 | + function($value) use ($connectionName) { |
|
170 | 170 | return $value === $connectionName; |
171 | 171 | } |
172 | 172 | )); |
@@ -161,7 +161,7 @@ |
||
161 | 161 | */ |
162 | 162 | public static function getMessageClosure(LanguageService $languageService, FlashMessageQueue $messageQueue, $isAjaxCall) |
163 | 163 | { |
164 | - return function () use ($languageService, $messageQueue, $isAjaxCall) { |
|
164 | + return function() use ($languageService, $messageQueue, $isAjaxCall) { |
|
165 | 165 | /** @var FlashMessage $flashMessage */ |
166 | 166 | $flashMessage = GeneralUtility::makeInstance( |
167 | 167 | FlashMessage::class, |
@@ -69,14 +69,14 @@ |
||
69 | 69 | |
70 | 70 | $html = []; |
71 | 71 | $html[] = '<div class="formengine-field-item t3js-formengine-field-item">'; |
72 | - $html[] = $fieldInformationHtml; |
|
73 | - $html[] = '<div class="form-wizards-wrap">'; |
|
74 | - $html[] = '<div class="form-wizards-element">'; |
|
75 | - $html[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">'; |
|
76 | - $html[] = '<input class="form-control" value="' . htmlspecialchars($itemValue) . '" type="text" disabled>'; |
|
77 | - $html[] = '</div>'; |
|
78 | - $html[] = '</div>'; |
|
79 | - $html[] = '</div>'; |
|
72 | + $html[] = $fieldInformationHtml; |
|
73 | + $html[] = '<div class="form-wizards-wrap">'; |
|
74 | + $html[] = '<div class="form-wizards-element">'; |
|
75 | + $html[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">'; |
|
76 | + $html[] = '<input class="form-control" value="' . htmlspecialchars($itemValue) . '" type="text" disabled>'; |
|
77 | + $html[] = '</div>'; |
|
78 | + $html[] = '</div>'; |
|
79 | + $html[] = '</div>'; |
|
80 | 80 | $html[] = '</div>'; |
81 | 81 | |
82 | 82 | $resultArray['html'] = implode(LF, $html); |
@@ -108,7 +108,7 @@ |
||
108 | 108 | |
109 | 109 | public function __toString() |
110 | 110 | { |
111 | - $filterNonPersistentKeys = function ($key) { |
|
111 | + $filterNonPersistentKeys = function($key) { |
|
112 | 112 | if (in_array($key, ['id', 'title', 'allowedAspectRatios', 'coverAreas'], true)) { |
113 | 113 | return false; |
114 | 114 | } |
@@ -52,7 +52,7 @@ |
||
52 | 52 | |
53 | 53 | $subPartColumns = array_filter( |
54 | 54 | $tableIndexes, |
55 | - function ($column) { |
|
55 | + function($column) { |
|
56 | 56 | return $column['Sub_Part']; |
57 | 57 | } |
58 | 58 | ); |
@@ -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 |