Test Failed
Branch master (137376)
by Tymoteusz
20:39
created
typo3/sysext/recordlist/Classes/Browser/AbstractElementBrowser.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@
 block discarded – undo
165 165
      */
166 166
     protected function getBParamDataAttributes()
167 167
     {
168
-        list($fieldRef, $rteParams, $rteConfig, , $irreObjectId, $irreCheckUniqueAction, $irreAddAction, $irreInsertAction) = explode('|', $this->bparams);
168
+        list($fieldRef, $rteParams, $rteConfig,, $irreObjectId, $irreCheckUniqueAction, $irreAddAction, $irreInsertAction) = explode('|', $this->bparams);
169 169
 
170 170
         return [
171 171
             'data-this-script-url' => strpos($this->thisScript, '?') === false ? $this->thisScript . '?' : $this->thisScript . '&',
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,8 +32,8 @@
 block discarded – undo
32 32
 abstract class AbstractElementBrowser
33 33
 {
34 34
     /**
35
-    * @var DocumentTemplate
36
-    */
35
+     * @var DocumentTemplate
36
+     */
37 37
     protected $doc;
38 38
 
39 39
     /**
Please login to merge, or discard this patch.
typo3/sysext/recordlist/Classes/Browser/DatabaseBrowser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
     {
81 81
         $this->setTemporaryDbMounts();
82 82
 
83
-        list(, , , $allowedTables) = explode('|', $this->bparams);
83
+        list(,,, $allowedTables) = explode('|', $this->bparams);
84 84
         $backendUser = $this->getBackendUser();
85 85
 
86 86
         // Making the browsable pagetree:
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
     protected function renderTableRecords($tables)
195 195
     {
196 196
         $backendUser = $this->getBackendUser();
197
-        if ($this->expandPage === null  || $this->expandPage < 0 || !$backendUser->isInWebMount($this->expandPage)) {
197
+        if ($this->expandPage === null || $this->expandPage < 0 || !$backendUser->isInWebMount($this->expandPage)) {
198 198
             return '';
199 199
         }
200 200
         // Set array with table names to list:
Please login to merge, or discard this patch.
sysext/recordlist/Classes/Controller/AbstractLinkBrowserController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -589,7 +589,7 @@
 block discarded – undo
589 589
         $parameters['formName'] = $this->parameters['formName'];
590 590
         $parameters['params']['allowedExtensions'] = isset($this->parameters['params']['allowedExtensions']) ? $this->parameters['params']['allowedExtensions'] : '';
591 591
         $parameters['params']['blindLinkOptions'] = isset($this->parameters['params']['blindLinkOptions']) ? $this->parameters['params']['blindLinkOptions'] : '';
592
-        $parameters['params']['blindLinkFields'] = isset($this->parameters['params']['blindLinkFields']) ? $this->parameters['params']['blindLinkFields']: '';
592
+        $parameters['params']['blindLinkFields'] = isset($this->parameters['params']['blindLinkFields']) ? $this->parameters['params']['blindLinkFields'] : '';
593 593
         $addPassOnParams = GeneralUtility::implodeArrayForUrl('P', $parameters);
594 594
 
595 595
         $attributes = $this->displayedLinkHandler->getBodyTagAttributes();
Please login to merge, or discard this patch.
typo3/sysext/recordlist/Classes/LinkHandler/AbstractLinkHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      *
35 35
      * @var string[]
36 36
      */
37
-    protected $linkAttributes = [ 'target', 'title', 'class', 'params', 'rel' ];
37
+    protected $linkAttributes = ['target', 'title', 'class', 'params', 'rel'];
38 38
 
39 39
     /**
40 40
      * @var bool
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Html/HtmlParser.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     public function splitIntoBlock($tag, $content, $eliminateExtraEndTags = false)
52 52
     {
53 53
         $tags = array_unique(GeneralUtility::trimExplode(',', $tag, true));
54
-        array_walk($tags, function (&$tag) {
54
+        array_walk($tags, function(&$tag) {
55 55
             $tag = preg_quote($tag, '/');
56 56
         });
57 57
         $regexStr = '/\\<\\/?(' . implode('|', $tags) . ')(\\s*\\>|\\s[^\\>]*\\>)/si';
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
     public function splitTags($tag, $content)
158 158
     {
159 159
         $tags = GeneralUtility::trimExplode(',', $tag, true);
160
-        array_walk($tags, function (&$tag) {
160
+        array_walk($tags, function(&$tag) {
161 161
             $tag = preg_quote($tag, '/');
162 162
         });
163 163
         $regexStr = '/\\<(' . implode('|', $tags) . ')(\\s[^>]*)?\\/?>/si';
@@ -832,7 +832,7 @@  discard block
 block discarded – undo
832 832
             if ($cacheKey && isset($this->caseShift_cache[$cacheKey])) {
833 833
                 $str = $this->caseShift_cache[$cacheKey];
834 834
             } else {
835
-                array_walk($str, function (&$value) {
835
+                array_walk($str, function(&$value) {
836 836
                     $value = strtoupper($value);
837 837
                 });
838 838
                 if ($cacheKey) {
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Charset/CharsetConverter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -871,7 +871,7 @@
 block discarded – undo
871 871
         while (!feof($fh)) {
872 872
             $line = fgets($fh, 4096);
873 873
             // Has a lot of info
874
-            list($char, $name, $cat, , , $decomp, , , $num, , , , $upper, $lower, $title, ) = explode(';', rtrim($line));
874
+            list($char, $name, $cat,,, $decomp,,, $num,,,, $upper, $lower, $title,) = explode(';', rtrim($line));
875 875
             $ord = hexdec($char);
876 876
             if ($ord > 65535) {
877 877
                 // Only process the BMP
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Service/OpcodeCacheService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
                 // PHP 7.0 onward is delivered minimum OPcache 7.0.6-dev
43 43
                 'canInvalidate' => true,
44 44
                 'error' => false,
45
-                'clearCallback' => function ($fileAbsPath) {
45
+                'clearCallback' => function($fileAbsPath) {
46 46
                     if ($fileAbsPath !== null) {
47 47
                         opcache_invalidate($fileAbsPath);
48 48
                     } else {
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Crypto/Random.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\Crypto;
4 4
 
5 5
 /*
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Database/Query/BulkInsertQuery.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace TYPO3\CMS\Core\Database\Query;
4 4
 
5 5
 /*
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
                 implode(
257 257
                     ', ',
258 258
                     array_map(
259
-                        function ($column) use ($connection) {
259
+                        function($column) use ($connection) {
260 260
                             return $connection->quoteIdentifier($column);
261 261
                         },
262 262
                         $this->columns
@@ -272,7 +272,7 @@  discard block
 block discarded – undo
272 272
             implode(
273 273
                 '), (',
274 274
                 array_map(
275
-                    function (array $valueSet) {
275
+                    function(array $valueSet) {
276 276
                         return implode(', ', $valueSet);
277 277
                     },
278 278
                     $this->values
Please login to merge, or discard this patch.