@@ -165,7 +165,7 @@ |
||
| 165 | 165 | */ |
| 166 | 166 | protected function getBParamDataAttributes() |
| 167 | 167 | { |
| 168 | - list($fieldRef, $rteParams, $rteConfig, , $irreObjectId, $irreCheckUniqueAction, $irreAddAction, $irreInsertAction) = explode('|', $this->bparams); |
|
| 168 | + list($fieldRef, $rteParams, $rteConfig,, $irreObjectId, $irreCheckUniqueAction, $irreAddAction, $irreInsertAction) = explode('|', $this->bparams); |
|
| 169 | 169 | |
| 170 | 170 | return [ |
| 171 | 171 | 'data-this-script-url' => strpos($this->thisScript, '?') === false ? $this->thisScript . '?' : $this->thisScript . '&', |
@@ -32,8 +32,8 @@ |
||
| 32 | 32 | abstract class AbstractElementBrowser |
| 33 | 33 | { |
| 34 | 34 | /** |
| 35 | - * @var DocumentTemplate |
|
| 36 | - */ |
|
| 35 | + * @var DocumentTemplate |
|
| 36 | + */ |
|
| 37 | 37 | protected $doc; |
| 38 | 38 | |
| 39 | 39 | /** |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | { |
| 81 | 81 | $this->setTemporaryDbMounts(); |
| 82 | 82 | |
| 83 | - list(, , , $allowedTables) = explode('|', $this->bparams); |
|
| 83 | + list(,,, $allowedTables) = explode('|', $this->bparams); |
|
| 84 | 84 | $backendUser = $this->getBackendUser(); |
| 85 | 85 | |
| 86 | 86 | // Making the browsable pagetree: |
@@ -194,7 +194,7 @@ discard block |
||
| 194 | 194 | protected function renderTableRecords($tables) |
| 195 | 195 | { |
| 196 | 196 | $backendUser = $this->getBackendUser(); |
| 197 | - if ($this->expandPage === null || $this->expandPage < 0 || !$backendUser->isInWebMount($this->expandPage)) { |
|
| 197 | + if ($this->expandPage === null || $this->expandPage < 0 || !$backendUser->isInWebMount($this->expandPage)) { |
|
| 198 | 198 | return ''; |
| 199 | 199 | } |
| 200 | 200 | // Set array with table names to list: |
@@ -589,7 +589,7 @@ |
||
| 589 | 589 | $parameters['formName'] = $this->parameters['formName']; |
| 590 | 590 | $parameters['params']['allowedExtensions'] = isset($this->parameters['params']['allowedExtensions']) ? $this->parameters['params']['allowedExtensions'] : ''; |
| 591 | 591 | $parameters['params']['blindLinkOptions'] = isset($this->parameters['params']['blindLinkOptions']) ? $this->parameters['params']['blindLinkOptions'] : ''; |
| 592 | - $parameters['params']['blindLinkFields'] = isset($this->parameters['params']['blindLinkFields']) ? $this->parameters['params']['blindLinkFields']: ''; |
|
| 592 | + $parameters['params']['blindLinkFields'] = isset($this->parameters['params']['blindLinkFields']) ? $this->parameters['params']['blindLinkFields'] : ''; |
|
| 593 | 593 | $addPassOnParams = GeneralUtility::implodeArrayForUrl('P', $parameters); |
| 594 | 594 | |
| 595 | 595 | $attributes = $this->displayedLinkHandler->getBodyTagAttributes(); |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | * |
| 35 | 35 | * @var string[] |
| 36 | 36 | */ |
| 37 | - protected $linkAttributes = [ 'target', 'title', 'class', 'params', 'rel' ]; |
|
| 37 | + protected $linkAttributes = ['target', 'title', 'class', 'params', 'rel']; |
|
| 38 | 38 | |
| 39 | 39 | /** |
| 40 | 40 | * @var bool |
@@ -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) { |
@@ -871,7 +871,7 @@ |
||
| 871 | 871 | while (!feof($fh)) { |
| 872 | 872 | $line = fgets($fh, 4096); |
| 873 | 873 | // Has a lot of info |
| 874 | - list($char, $name, $cat, , , $decomp, , , $num, , , , $upper, $lower, $title, ) = explode(';', rtrim($line)); |
|
| 874 | + list($char, $name, $cat,,, $decomp,,, $num,,,, $upper, $lower, $title,) = explode(';', rtrim($line)); |
|
| 875 | 875 | $ord = hexdec($char); |
| 876 | 876 | if ($ord > 65535) { |
| 877 | 877 | // Only process the BMP |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | // PHP 7.0 onward is delivered minimum OPcache 7.0.6-dev |
| 43 | 43 | 'canInvalidate' => true, |
| 44 | 44 | 'error' => false, |
| 45 | - 'clearCallback' => function ($fileAbsPath) { |
|
| 45 | + 'clearCallback' => function($fileAbsPath) { |
|
| 46 | 46 | if ($fileAbsPath !== null) { |
| 47 | 47 | opcache_invalidate($fileAbsPath); |
| 48 | 48 | } else { |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | namespace TYPO3\CMS\Core\Crypto; |
| 4 | 4 | |
| 5 | 5 | /* |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | namespace TYPO3\CMS\Core\Database\Query; |
| 4 | 4 | |
| 5 | 5 | /* |
@@ -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 |