@@ -365,7 +365,7 @@ discard block |
||
365 | 365 | // Find object name string until we meet an operator |
366 | 366 | $varL = strcspn($line, TAB . ' {=<>('); |
367 | 367 | // check for special ":=" operator |
368 | - if ($varL > 0 && substr($line, $varL-1, 2) === ':=') { |
|
368 | + if ($varL > 0 && substr($line, $varL - 1, 2) === ':=') { |
|
369 | 369 | --$varL; |
370 | 370 | } |
371 | 371 | // also remove tabs after the object string name |
@@ -877,7 +877,7 @@ discard block |
||
877 | 877 | $filePointerPathParts = explode('/', substr($filename, 4)); |
878 | 878 | |
879 | 879 | // remove file part, determine whether to load setup or constants |
880 | - list($includeType, ) = explode('.', array_pop($filePointerPathParts)); |
|
880 | + list($includeType,) = explode('.', array_pop($filePointerPathParts)); |
|
881 | 881 | |
882 | 882 | if (in_array($includeType, ['setup', 'constants'])) { |
883 | 883 | // adapt extension key to required format (no underscores) |
@@ -1779,7 +1779,7 @@ |
||
1779 | 1779 | array_unshift($this->config, (string)$GLOBALS['TYPO3_CONF_VARS']['FE']['defaultTypoScript_setup']); |
1780 | 1780 | array_unshift($this->templateIncludePaths, ''); |
1781 | 1781 | // prepare a proper entry to hierachyInfo (used by TemplateAnalyzer in BE) |
1782 | - $rootTemplateId = $this->hierarchyInfo[count($this->hierarchyInfo)-1]['templateID']; |
|
1782 | + $rootTemplateId = $this->hierarchyInfo[count($this->hierarchyInfo) - 1]['templateID']; |
|
1783 | 1783 | $defaultTemplateInfo = [ |
1784 | 1784 | 'root' => '', |
1785 | 1785 | 'next' => '', |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace TYPO3\CMS\Core\Configuration; |
4 | 4 | |
5 | 5 | /* |
@@ -38,7 +38,7 @@ |
||
38 | 38 | 'user' => 'renderUserFunction', |
39 | 39 | 'small' => 'renderSmallTextField', |
40 | 40 | 'string' => 'renderTextField', |
41 | - 'input' => 'renderTextField', // only for backwards compatibility, many extensions depend on that |
|
41 | + 'input' => 'renderTextField', // only for backwards compatibility, many extensions depend on that |
|
42 | 42 | 'default' => 'renderTextField' // only for backwards compatibility, many extensions depend on that |
43 | 43 | ]; |
44 | 44 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace TYPO3\CMS\Lowlevel\Command; |
4 | 4 | |
5 | 5 | /* |
@@ -90,7 +90,7 @@ |
||
90 | 90 | if (is_string($locales)) { |
91 | 91 | $locales = GeneralUtility::trimExplode(',', $locales); |
92 | 92 | } |
93 | - $locales = array_flip((array) $locales); |
|
93 | + $locales = array_flip((array)$locales); |
|
94 | 94 | foreach ($locales as $locale => $key) { |
95 | 95 | $state = static::TRANSLATION_INVALID; |
96 | 96 | $error = ''; |
@@ -193,7 +193,7 @@ |
||
193 | 193 | */ |
194 | 194 | protected static function getFirstInstallFilePaths() |
195 | 195 | { |
196 | - $files = array_filter(scandir(self::$sitePath), function ($file) { |
|
196 | + $files = array_filter(scandir(self::$sitePath), function($file) { |
|
197 | 197 | return @is_file(self::$sitePath . $file) && preg_match('~^' . self::FIRST_INSTALL_FILE_PATH . '.*~i', $file); |
198 | 198 | }); |
199 | 199 | return $files; |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace TYPO3\CMS\Install\Updates\RowUpdater; |
4 | 4 | |
5 | 5 | /* |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace TYPO3\CMS\Backend\Controller; |
4 | 4 | |
5 | 5 | /* |