Passed
Branch master (311f62)
by Christian
15:56
created
core/Classes/Database/Schema/EventListener/SchemaAlterTableListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Database/Schema/Exception/UnexpectedSignalReturnValueTypeException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/FormProtection/FormProtectionFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Localization/Locales.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -248,7 +248,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/TypoScript/Parser/TypoScriptParser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -365,7 +365,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/TypoScript/TemplateService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1779,7 +1779,7 @@
 block discarded – undo
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' => '',
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Configuration/Richtext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace TYPO3\CMS\Core\Configuration;
4 4
 
5 5
 /*
Please login to merge, or discard this patch.
typo3/sysext/lowlevel/Classes/Command/MissingRelationsCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace TYPO3\CMS\Lowlevel\Command;
4 4
 
5 5
 /*
Please login to merge, or discard this patch.
typo3/sysext/lang/Classes/Service/TranslationService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
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 = '';
Please login to merge, or discard this patch.