@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace TYPO3\CMS\Core\Database\Schema\EventListener; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace TYPO3\CMS\Core\Database\Schema\Exception; |
5 | 5 |
@@ -161,7 +161,7 @@ |
||
161 | 161 | */ |
162 | 162 | public static function getMessageClosure(LanguageService $languageService, FlashMessageQueue $messageQueue, $isAjaxCall) |
163 | 163 | { |
164 | - return function () use ($languageService, $messageQueue, $isAjaxCall) { |
|
164 | + return function() use ($languageService, $messageQueue, $isAjaxCall) { |
|
165 | 165 | /** @var FlashMessage $flashMessage */ |
166 | 166 | $flashMessage = GeneralUtility::makeInstance( |
167 | 167 | FlashMessage::class, |
@@ -248,7 +248,7 @@ |
||
248 | 248 | break; |
249 | 249 | } |
250 | 250 | // Strip the country code from the end |
251 | - list($preferredLanguage, ) = explode('-', $preferredLanguage); |
|
251 | + list($preferredLanguage,) = explode('-', $preferredLanguage); |
|
252 | 252 | if (isset($allLanguageCodesFromLocales[$preferredLanguage])) { |
253 | 253 | $selectedLanguage = $allLanguageCodesFromLocales[$preferredLanguage]; |
254 | 254 | break; |
@@ -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 | /* |
@@ -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 = ''; |