Test Failed
Branch master (137376)
by Tymoteusz
20:39
created
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.
extensionmanager/Classes/ViewHelpers/Form/TypoScriptConstantsViewHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
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
 
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.
typo3/sysext/install/Classes/Service/EnableFileService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
typo3/sysext/install/Classes/Updates/RowUpdater/L10nModeUpdater.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\Install\Updates\RowUpdater;
4 4
 
5 5
 /*
Please login to merge, or discard this patch.
sysext/backend/Classes/Controller/AbstractFormEngineAjaxController.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\Backend\Controller;
4 4
 
5 5
 /*
Please login to merge, or discard this patch.