@@ -738,7 +738,6 @@ |
||
738 | 738 | * @param int $uid item id for which to select subitems (parent id) |
739 | 739 | * @param int $depth Max depth (recursivity limit) |
740 | 740 | * @param string $depthData HTML-code prefix for recursive calls. |
741 | - |
|
742 | 741 | * @return int The count of items on the level |
743 | 742 | */ |
744 | 743 | public function getTree($uid, $depth = 999, $depthData = '') |
@@ -1505,10 +1505,10 @@ |
||
1505 | 1505 | } |
1506 | 1506 | |
1507 | 1507 | /** |
1508 | - * Retrieves configured favicon for backend (with fallback) |
|
1509 | - * |
|
1510 | - * @return string |
|
1511 | - */ |
|
1508 | + * Retrieves configured favicon for backend (with fallback) |
|
1509 | + * |
|
1510 | + * @return string |
|
1511 | + */ |
|
1512 | 1512 | protected function getBackendFavicon() |
1513 | 1513 | { |
1514 | 1514 | $extConf = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['backend'], ['allowed_classes' => false]); |
@@ -1514,7 +1514,7 @@ |
||
1514 | 1514 | $extConf = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['backend'], ['allowed_classes' => false]); |
1515 | 1515 | |
1516 | 1516 | if (!empty($extConf['backendFavicon'])) { |
1517 | - $path = $this->getUriForFileName($extConf['backendFavicon']); |
|
1517 | + $path = $this->getUriForFileName($extConf['backendFavicon']); |
|
1518 | 1518 | } else { |
1519 | 1519 | $path = ExtensionManagementUtility::extPath('backend') . 'Resources/Public/Icons/favicon.ico'; |
1520 | 1520 | } |
@@ -246,7 +246,7 @@ |
||
246 | 246 | if (!($dependency->getLowestVersion() === '') && version_compare(PHP_VERSION, $dependency->getLowestVersion()) === -1) { |
247 | 247 | throw new Exception\UnresolvedPhpDependencyException( |
248 | 248 | 'Your PHP version is lower than necessary. You need at least PHP version ' . $dependency->getLowestVersion(), |
249 | - 1377977857 |
|
249 | + 1377977857 |
|
250 | 250 | ); |
251 | 251 | } |
252 | 252 | if (!($dependency->getHighestVersion() === '') && version_compare($dependency->getHighestVersion(), PHP_VERSION) === -1) { |
@@ -423,7 +423,7 @@ discard block |
||
423 | 423 | |
424 | 424 | $version = $this->getExtensionVersion($extension); |
425 | 425 | if (empty($version)) { |
426 | - $version = '0.0.0'; |
|
426 | + $version = '0.0.0'; |
|
427 | 427 | } |
428 | 428 | |
429 | 429 | if (!@is_dir(PATH_site . 'typo3temp/var/ExtensionManager/')) { |
@@ -438,11 +438,11 @@ discard block |
||
438 | 438 | |
439 | 439 | // Get all the files of the extension, but exclude the ones specified in the excludePattern |
440 | 440 | $files = GeneralUtility::getAllFilesAndFoldersInPath( |
441 | - [], // No files pre-added |
|
442 | - $extensionPath, // Start from here |
|
443 | - '', // Do not filter files by extension |
|
444 | - true, // Include subdirectories |
|
445 | - PHP_INT_MAX, // Recursion level |
|
441 | + [], // No files pre-added |
|
442 | + $extensionPath, // Start from here |
|
443 | + '', // Do not filter files by extension |
|
444 | + true, // Include subdirectories |
|
445 | + PHP_INT_MAX, // Recursion level |
|
446 | 446 | $excludePattern // Files and directories to exclude. |
447 | 447 | ); |
448 | 448 |
@@ -71,7 +71,7 @@ |
||
71 | 71 | [ |
72 | 72 | 'documentTranslation' => $documentTranslation, |
73 | 73 | ], |
74 | - function () { |
|
74 | + function() { |
|
75 | 75 | }, |
76 | 76 | new RenderingContext() |
77 | 77 | ); |
@@ -237,7 +237,7 @@ discard block |
||
237 | 237 | 'EXT:taskcenter/Resources/Private/Templates/ModuleContent.html' |
238 | 238 | )); |
239 | 239 | $view->assignMultiple($assigns); |
240 | - $this->content .= $view->render(); |
|
240 | + $this->content .= $view->render(); |
|
241 | 241 | } |
242 | 242 | |
243 | 243 | /** |
@@ -261,7 +261,7 @@ discard block |
||
261 | 261 | 'EXT:taskcenter/Resources/Private/Templates/InformationContent.html' |
262 | 262 | )); |
263 | 263 | $view->assignMultiple($assigns); |
264 | - $this->content .= $view->render(); |
|
264 | + $this->content .= $view->render(); |
|
265 | 265 | } |
266 | 266 | |
267 | 267 | /** |
@@ -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); |
@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | */ |
126 | 126 | public function createMetaDataRecord($fileUid, array $additionalFields = []) |
127 | 127 | { |
128 | - $emptyRecord = [ |
|
128 | + $emptyRecord = [ |
|
129 | 129 | 'file' => (int)$fileUid, |
130 | 130 | 'pid' => 0, |
131 | 131 | 'crdate' => $GLOBALS['EXEC_TIME'], |
@@ -143,7 +143,7 @@ discard block |
||
143 | 143 | |
144 | 144 | $record = $emptyRecord; |
145 | 145 | $record['uid'] = $connection->lastInsertId($this->tableName); |
146 | - $record['newlyCreated'] = true; |
|
146 | + $record['newlyCreated'] = true; |
|
147 | 147 | |
148 | 148 | $this->emitRecordCreatedSignal($record); |
149 | 149 |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace TYPO3\CMS\Core\Database\Schema\Parser; |
5 | 5 | |
@@ -197,7 +197,7 @@ discard block |
||
197 | 197 | $indexName = $item->indexName->getQuotedName(); |
198 | 198 | |
199 | 199 | $columnNames = array_map( |
200 | - function (IndexColumnName $columnName) { |
|
200 | + function(IndexColumnName $columnName) { |
|
201 | 201 | if ($columnName->length) { |
202 | 202 | return $columnName->columnName->getQuotedName() . '(' . $columnName->length . ')'; |
203 | 203 | } |
@@ -247,7 +247,7 @@ discard block |
||
247 | 247 | { |
248 | 248 | $indexName = $item->indexName->getQuotedName() ?: null; |
249 | 249 | $localColumnNames = array_map( |
250 | - function (IndexColumnName $columnName) { |
|
250 | + function(IndexColumnName $columnName) { |
|
251 | 251 | return $columnName->columnName->getQuotedName(); |
252 | 252 | }, |
253 | 253 | $item->columnNames |
@@ -269,7 +269,7 @@ discard block |
||
269 | 269 | ) { |
270 | 270 | $foreignTableName = $referenceDefinition->tableName->getQuotedName(); |
271 | 271 | $foreignColumNames = array_map( |
272 | - function (IndexColumnName $columnName) { |
|
272 | + function(IndexColumnName $columnName) { |
|
273 | 273 | return $columnName->columnName->getQuotedName(); |
274 | 274 | }, |
275 | 275 | $referenceDefinition->columnNames |