@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | |
73 | 73 | try { |
74 | 74 | $file = GeneralUtility::makeInstance(ResourceFactory::class)->getFileObject($fileUid); |
75 | - } catch (FileDoesNotExistException|\InvalidArgumentException $e) { |
|
75 | + } catch (FileDoesNotExistException | \InvalidArgumentException $e) { |
|
76 | 76 | continue; |
77 | 77 | } |
78 | 78 | |
@@ -99,8 +99,8 @@ discard block |
||
99 | 99 | if ($processedImages !== []) { |
100 | 100 | $iconIdentifier = $this->data['systemLanguageRows'][(int)$sysLanguageUid]['flagIconIdentifier'] ?? 'flags-multiple'; |
101 | 101 | $html[] = '<div class="t3-form-original-language">'; |
102 | - $html[] = $iconFactory->getIcon($iconIdentifier, Icon::SIZE_SMALL)->render(); |
|
103 | - $html[] = implode(LF, $processedImages); |
|
102 | + $html[] = $iconFactory->getIcon($iconIdentifier, Icon::SIZE_SMALL)->render(); |
|
103 | + $html[] = implode(LF, $processedImages); |
|
104 | 104 | $html[] = '</div>'; |
105 | 105 | } |
106 | 106 | } |
@@ -518,7 +518,7 @@ |
||
518 | 518 | while (!feof($fh)) { |
519 | 519 | $line = (string)fgets($fh, 4096); |
520 | 520 | // Has a lot of info |
521 | - [$char, $name, $cat, , , $decomp, , , $num] = explode(';', rtrim($line)); |
|
521 | + [$char, $name, $cat,,, $decomp,,, $num] = explode(';', rtrim($line)); |
|
522 | 522 | $ord = hexdec($char); |
523 | 523 | if ($ord > 65535) { |
524 | 524 | // Only process the BMP |
@@ -2146,7 +2146,7 @@ |
||
2146 | 2146 | $tempCommaReplacementString = '###KASPER###'; |
2147 | 2147 | |
2148 | 2148 | // replace every "," wrapped in "()" by a "unique" string |
2149 | - $string = preg_replace_callback('/\((?>[^()]|(?R))*\)/', function ($result) use ($tempCommaReplacementString) { |
|
2149 | + $string = preg_replace_callback('/\((?>[^()]|(?R))*\)/', function($result) use ($tempCommaReplacementString) { |
|
2150 | 2150 | return str_replace(',', $tempCommaReplacementString, $result[0]); |
2151 | 2151 | }, $string) ?? ''; |
2152 | 2152 |
@@ -243,8 +243,8 @@ |
||
243 | 243 | |
244 | 244 | $standaloneView->assign('form', $formRuntime); |
245 | 245 | $standaloneView->getRenderingContext() |
246 | - ->getViewHelperVariableContainer() |
|
247 | - ->addOrUpdate(RenderRenderableViewHelper::class, 'formRuntime', $formRuntime); |
|
246 | + ->getViewHelperVariableContainer() |
|
247 | + ->addOrUpdate(RenderRenderableViewHelper::class, 'formRuntime', $formRuntime); |
|
248 | 248 | |
249 | 249 | return $standaloneView; |
250 | 250 | } |