@@ -302,7 +302,7 @@ |
||
302 | 302 | * @param array $fieldsToSearchWithin User right based visible fields where we can search within. |
303 | 303 | * @return CompositeExpression |
304 | 304 | */ |
305 | - protected function makeQuerySearchByTable(QueryBuilder &$queryBuilder, $tableName, array $fieldsToSearchWithin) |
|
305 | + protected function makeQuerySearchByTable(QueryBuilder & $queryBuilder, $tableName, array $fieldsToSearchWithin) |
|
306 | 306 | { |
307 | 307 | $constraints = []; |
308 | 308 |
@@ -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\Controller; |
4 | 4 | |
5 | 5 | /* |
@@ -217,7 +217,7 @@ discard block |
||
217 | 217 | continue; |
218 | 218 | } |
219 | 219 | |
220 | - usort($formElementsByGroup[$groupName], function ($a, $b) { |
|
220 | + usort($formElementsByGroup[$groupName], function($a, $b) { |
|
221 | 221 | return $a['sorting'] - $b['sorting']; |
222 | 222 | }); |
223 | 223 | unset($formElementsByGroup[$groupName]['sorting']); |
@@ -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)) { |
@@ -300,9 +300,9 @@ |
||
300 | 300 | // Back |
301 | 301 | if ($this->returnUrl) { |
302 | 302 | $backButton = $buttonBar->makeLinkButton() |
303 | - ->setHref($this->returnUrl) |
|
304 | - ->setTitle($lang->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.goBack')) |
|
305 | - ->setIcon($this->moduleTemplate->getIconFactory()->getIcon('actions-view-go-back', Icon::SIZE_SMALL)); |
|
303 | + ->setHref($this->returnUrl) |
|
304 | + ->setTitle($lang->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.goBack')) |
|
305 | + ->setIcon($this->moduleTemplate->getIconFactory()->getIcon('actions-view-go-back', Icon::SIZE_SMALL)); |
|
306 | 306 | $buttonBar->addButton($backButton); |
307 | 307 | } |
308 | 308 |
@@ -233,7 +233,7 @@ |
||
233 | 233 | 'EXT:backend/Resources/Private/Templates/ContentElement/MoveElement.html' |
234 | 234 | )); |
235 | 235 | $view->assignMultiple($assigns); |
236 | - $this->content .= $view->render(); |
|
236 | + $this->content .= $view->render(); |
|
237 | 237 | } |
238 | 238 | // Setting up the buttons and markers for docheader |
239 | 239 | $this->getButtons(); |
@@ -168,7 +168,7 @@ |
||
168 | 168 | $replacement['###PAGE_TSCONFIG_ID###'] = (int)$fieldTSconfig['PAGE_TSCONFIG_ID']; |
169 | 169 | } |
170 | 170 | if (isset($fieldTSconfig['PAGE_TSCONFIG_IDLIST'])) { |
171 | - $replacement['###PAGE_TSCONFIG_IDLIST###'] = implode(',', GeneralUtility::intExplode(',', $fieldTSconfig['PAGE_TSCONFIG_IDLIST'])); |
|
171 | + $replacement['###PAGE_TSCONFIG_IDLIST###'] = implode(',', GeneralUtility::intExplode(',', $fieldTSconfig['PAGE_TSCONFIG_IDLIST'])); |
|
172 | 172 | } |
173 | 173 | if (isset($fieldTSconfig['PAGE_TSCONFIG_STR'])) { |
174 | 174 | $connection = GeneralUtility::makeInstance(ConnectionPool::class)->getConnectionForTable($fieldConfig['foreign_table']); |
@@ -67,7 +67,7 @@ |
||
67 | 67 | if (!is_array($pageIdsToClear)) { |
68 | 68 | $pageIdsToClear = [(int)$pageIdsToClear]; |
69 | 69 | } |
70 | - $tags = array_map(function ($item) { |
|
70 | + $tags = array_map(function($item) { |
|
71 | 71 | return 'pageId_' . $item; |
72 | 72 | }, $pageIdsToClear); |
73 | 73 | $this->cacheManager->flushCachesInGroupByTags('pages', $tags); |