@@ -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 | )); |
@@ -270,7 +270,7 @@ discard block |
||
270 | 270 | // Onclick action for icon/title: |
271 | 271 | $aOnClick = 'document.getElementsByName(\'tempB\')[' . $cc . '].checked=1;' . $wizardOnClick . 'return false;'; |
272 | 272 | } else { |
273 | - $aOnClick = "document.editForm.defValues.value=unescape('" . rawurlencode($wInfo['params']) . "');goToalt_doc();" . (!$this->onClickEvent?"window.location.hash='#sel2';":''); |
|
273 | + $aOnClick = "document.editForm.defValues.value=unescape('" . rawurlencode($wInfo['params']) . "');goToalt_doc();" . (!$this->onClickEvent ? "window.location.hash='#sel2';" : ''); |
|
274 | 274 | } |
275 | 275 | |
276 | 276 | $icon = $this->moduleTemplate->getIconFactory()->getIcon($wInfo['iconIdentifier'])->render(); |
@@ -544,7 +544,7 @@ discard block |
||
544 | 544 | { |
545 | 545 | if (isset($wizardGroup[$key])) { |
546 | 546 | $wizardGroup[$key] = GeneralUtility::trimExplode(',', $wizardGroup[$key]); |
547 | - $wizardGroup[$key] = array_map(function ($s) { |
|
547 | + $wizardGroup[$key] = array_map(function($s) { |
|
548 | 548 | return $s . '.'; |
549 | 549 | }, $wizardGroup[$key]); |
550 | 550 | } |
@@ -1153,7 +1153,7 @@ |
||
1153 | 1153 | ->execute(); |
1154 | 1154 | |
1155 | 1155 | while ($row = $result->fetch()) { |
1156 | - $allOptions[$row['uid']]= $row['title']; |
|
1156 | + $allOptions[$row['uid']] = $row['title']; |
|
1157 | 1157 | } |
1158 | 1158 | } |
1159 | 1159 | // disable single entries by TypoScript |
@@ -61,8 +61,8 @@ |
||
61 | 61 | { |
62 | 62 | $section = $this->arguments['section']; |
63 | 63 | $partial = $this->arguments['partial']; |
64 | - $arguments = (array) $this->arguments['arguments']; |
|
65 | - $optional = (boolean) $this->arguments['optional']; |
|
64 | + $arguments = (array)$this->arguments['arguments']; |
|
65 | + $optional = (boolean)$this->arguments['optional']; |
|
66 | 66 | $contentAs = $this->arguments['contentAs']; |
67 | 67 | $tagContent = $this->renderChildren(); |
68 | 68 |
@@ -485,7 +485,7 @@ |
||
485 | 485 | |
486 | 486 | if ($pageList) { |
487 | 487 | $pidField = $table === 'pages' ? 'B.uid' : 'A.pid'; |
488 | - $constraints[] = $queryBuilder->expr()->in( |
|
488 | + $constraints[] = $queryBuilder->expr()->in( |
|
489 | 489 | $pidField, |
490 | 490 | $queryBuilder->createNamedParameter( |
491 | 491 | GeneralUtility::intExplode(',', $pageList, true), |
@@ -1029,7 +1029,7 @@ |
||
1029 | 1029 | |
1030 | 1030 | $movePointerParameter = $queryBuilder->createNamedParameter( |
1031 | 1031 | VersionState::MOVE_POINTER, |
1032 | - \PDO::PARAM_INT |
|
1032 | + \PDO::PARAM_INT |
|
1033 | 1033 | ); |
1034 | 1034 | $workspaceIdParameter = $queryBuilder->createNamedParameter( |
1035 | 1035 | $workspaceId, |
@@ -65,7 +65,7 @@ |
||
65 | 65 | $backendUser = $this->getBackendUser(); |
66 | 66 | $openDocs = $backendUser->getModuleData('FormEngine', 'ses'); |
67 | 67 | if ($openDocs !== null) { |
68 | - list($this->openDocs, ) = $openDocs; |
|
68 | + list($this->openDocs,) = $openDocs; |
|
69 | 69 | } |
70 | 70 | $this->recentDocs = $backendUser->getModuleData('opendocs::recent') ?: []; |
71 | 71 | } |
@@ -1634,8 +1634,8 @@ |
||
1634 | 1634 | } |
1635 | 1635 | if ($addOption) { |
1636 | 1636 | $menuItem = $languageMenu->makeMenuItem() |
1637 | - ->setTitle($lang['title'] . $newTranslation) |
|
1638 | - ->setHref($href); |
|
1637 | + ->setTitle($lang['title'] . $newTranslation) |
|
1638 | + ->setHref($href); |
|
1639 | 1639 | if ((int)$lang['uid'] === $currentLanguage) { |
1640 | 1640 | $menuItem->setActive(true); |
1641 | 1641 | } |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace TYPO3\CMS\Form\Domain\Runtime; |
4 | 4 | |
5 | 5 | /* |
@@ -395,7 +395,7 @@ discard block |
||
395 | 395 | $requestArguments = $this->request->getArguments(); |
396 | 396 | |
397 | 397 | $propertyPathsForWhichPropertyMappingShouldHappen = []; |
398 | - $registerPropertyPaths = function ($propertyPath) use (&$propertyPathsForWhichPropertyMappingShouldHappen) { |
|
398 | + $registerPropertyPaths = function($propertyPath) use (&$propertyPathsForWhichPropertyMappingShouldHappen) { |
|
399 | 399 | $propertyPathParts = explode('.', $propertyPath); |
400 | 400 | $accumulatedPropertyPathParts = []; |
401 | 401 | foreach ($propertyPathParts as $propertyPathPart) { |
@@ -413,7 +413,7 @@ discard block |
||
413 | 413 | } |
414 | 414 | |
415 | 415 | // The more parts the path has, the more early it is processed |
416 | - usort($propertyPathsForWhichPropertyMappingShouldHappen, function ($a, $b) { |
|
416 | + usort($propertyPathsForWhichPropertyMappingShouldHappen, function($a, $b) { |
|
417 | 417 | return substr_count($b, '.') - substr_count($a, '.'); |
418 | 418 | }); |
419 | 419 |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace TYPO3\CMS\Form\Mvc\Property\TypeConverter; |
4 | 4 | |
5 | 5 | /* |
@@ -197,7 +197,7 @@ discard block |
||
197 | 197 | $conflictMode = $configuration->getConfigurationValue(self::class, self::CONFIGURATION_UPLOAD_CONFLICT_MODE) ?: $this->defaultConflictMode; |
198 | 198 | |
199 | 199 | $uploadFolder = $this->resourceFactory->retrieveFileOrFolderObject($uploadFolderId); |
200 | - $uploadedFile = $uploadFolder->addUploadedFile($uploadInfo, $conflictMode); |
|
200 | + $uploadedFile = $uploadFolder->addUploadedFile($uploadInfo, $conflictMode); |
|
201 | 201 | |
202 | 202 | $validators = $configuration->getConfigurationValue(self::class, self::CONFIGURATION_FILE_VALIDATORS); |
203 | 203 | if (is_array($validators)) { |