Test Failed
Branch master (e0e8ab)
by Tymoteusz
23:10
created
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.
core/Classes/Database/Schema/Parser/AST/CreateForeignKeyDefinitionItem.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
      * CreateForeignKeyDefinitionItem constructor.
50 50
      *
51 51
      * @param \TYPO3\CMS\Core\Database\Schema\Parser\AST\Identifier $indexName
52
-     * @param array $columnNames
52
+     * @param IndexColumnName[] $columnNames
53 53
      * @param \TYPO3\CMS\Core\Database\Schema\Parser\AST\ReferenceDefinition $reference
54 54
      */
55 55
     public function __construct(Identifier $indexName, array $columnNames, ReferenceDefinition $reference)
Please login to merge, or discard this 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\Parser\AST;
5 5
 
Please login to merge, or discard this patch.
typo3/sysext/setup/Classes/Controller/SetupModuleController.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -785,11 +785,11 @@
 block discarded – undo
785 785
         }
786 786
 
787 787
         return '<div class="form-inline"><div class="form-group"><p>'
788
-             . '<label for="field_simulate" style="margin-right: 20px;">'
789
-             . htmlspecialchars($this->getLanguageService()->sL('LLL:EXT:setup/Resources/Private/Language/locallang.xlf:simulate'))
790
-             . '</label>'
791
-             . $this->simulateSelector
792
-             . '</p></div></div>';
788
+                . '<label for="field_simulate" style="margin-right: 20px;">'
789
+                . htmlspecialchars($this->getLanguageService()->sL('LLL:EXT:setup/Resources/Private/Language/locallang.xlf:simulate'))
790
+                . '</label>'
791
+                . $this->simulateSelector
792
+                . '</p></div></div>';
793 793
     }
794 794
 
795 795
     /**
Please login to merge, or discard this patch.
sysext/indexed_search/Classes/Domain/Repository/IndexSearchRepository.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -605,10 +605,10 @@
 block discarded – undo
605 605
                 case '10':
606 606
                     // Sounds like
607 607
                     /**
608
-                    * Indexer object
609
-                    *
610
-                    * @var Indexer
611
-                    */
608
+                     * Indexer object
609
+                     *
610
+                     * @var Indexer
611
+                     */
612 612
                     $indexerObj = GeneralUtility::makeInstance(Indexer::class);
613 613
                     // Perform metaphone search
614 614
                     $storeMetaphoneInfoAsWords = !$this->isTableUsed('index_words');
Please login to merge, or discard this patch.
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php 3 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4647,7 +4647,7 @@
 block discarded – undo
4647 4647
      *
4648 4648
      * @param int $targetPid Target page id
4649 4649
      * @return mixed Return domain data or NULL
4650
-    */
4650
+     */
4651 4651
     public function getDomainDataForPid($targetPid)
4652 4652
     {
4653 4653
         // Using array_key_exists() here, nice $result can be NULL
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1606,7 +1606,7 @@  discard block
 block discarded – undo
1606 1606
     /**
1607 1607
      * Checks the current rootline for defined sections.
1608 1608
      *
1609
-     * @return bool
1609
+     * @return integer
1610 1610
      * @access private
1611 1611
      */
1612 1612
     public function checkRootlineForIncludeSection()
@@ -1714,7 +1714,7 @@  discard block
 block discarded – undo
1714 1714
      * Checks page record for include section
1715 1715
      *
1716 1716
      * @param array $row The page record to evaluate (needs fields: extendToSubpages + hidden, starttime, endtime, fe_group)
1717
-     * @return bool Returns TRUE if either extendToSubpages is not checked or if the enableFields does not disable the page record.
1717
+     * @return integer Returns TRUE if either extendToSubpages is not checked or if the enableFields does not disable the page record.
1718 1718
      * @access private
1719 1719
      * @see checkEnableFields(), \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::getTreeList(), checkRootlineForIncludeSection()
1720 1720
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2832,7 +2832,7 @@
 block discarded – undo
2832 2832
         $tempCommaReplacementString = '###KASPER###';
2833 2833
 
2834 2834
         // replace every "," wrapped in "()" by a "unique" string
2835
-        $string = preg_replace_callback('/\((?>[^()]|(?R))*\)/', function ($result) use ($tempCommaReplacementString) {
2835
+        $string = preg_replace_callback('/\((?>[^()]|(?R))*\)/', function($result) use ($tempCommaReplacementString) {
2836 2836
             return str_replace(',', $tempCommaReplacementString, $result[0]);
2837 2837
         }, $string);
2838 2838
 
Please login to merge, or discard this patch.
sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -512,8 +512,8 @@
 block discarded – undo
512 512
     }
513 513
 
514 514
     /**
515
-    * @return string The HTML for the menu
516
-    */
515
+     * @return string The HTML for the menu
516
+     */
517 517
     public function writeMenu()
518 518
     {
519 519
         return '';
Please login to merge, or discard this patch.
typo3/sysext/extbase/Classes/Domain/Model/FileReference.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -22,11 +22,11 @@
 block discarded – undo
22 22
 class FileReference extends \TYPO3\CMS\Extbase\Domain\Model\AbstractFileFolder
23 23
 {
24 24
     /**
25
-      * Uid of the referenced sys_file. Needed for extbase to serialize the
26
-      * reference correctly.
27
-      *
28
-      * @var int
29
-      */
25
+     * Uid of the referenced sys_file. Needed for extbase to serialize the
26
+     * reference correctly.
27
+     *
28
+     * @var int
29
+     */
30 30
     protected $uidLocal;
31 31
 
32 32
     /**
Please login to merge, or discard this patch.
sysext/extbase/Classes/Property/TypeConverter/PersistentObjectConverter.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,8 +67,8 @@
 block discarded – undo
67 67
     protected $persistenceManager;
68 68
 
69 69
         /**
70
-     * @param \TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface $persistenceManager
71
-     */
70
+         * @param \TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface $persistenceManager
71
+         */
72 72
     public function injectPersistenceManager(\TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface $persistenceManager)
73 73
     {
74 74
         $this->persistenceManager = $persistenceManager;
Please login to merge, or discard this patch.
typo3/sysext/extbase/Classes/Validation/ValidatorResolver.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -459,7 +459,7 @@
 block discarded – undo
459 459
             }
460 460
         } else {
461 461
             // Full qualified
462
-             // Tx_MyExt_Validation_Validator_MyValidator or \Acme\Ext\Validation\Validator\FooValidator
462
+                // Tx_MyExt_Validation_Validator_MyValidator or \Acme\Ext\Validation\Validator\FooValidator
463 463
             $possibleClassName = $validatorName;
464 464
             if (!empty($possibleClassName) && $possibleClassName[0] === '\\') {
465 465
                 $possibleClassName = substr($possibleClassName, 1);
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
 
188 188
         if ($methodValidateAnnotations === null) {
189 189
             $validateAnnotations = $this->getMethodValidateAnnotations($className, $methodName);
190
-            $methodValidateAnnotations = array_map(function ($validateAnnotation) {
190
+            $methodValidateAnnotations = array_map(function($validateAnnotation) {
191 191
                 return [
192 192
                     'type' => $validateAnnotation['validatorName'],
193 193
                     'options' => $validateAnnotation['validatorOptions'],
@@ -346,7 +346,7 @@  discard block
 block discarded – undo
346 346
      * @param ConjunctionValidator $conjunctionValidator
347 347
      * @return NULL|Validator\ObjectValidatorInterface
348 348
      */
349
-    protected function addCustomValidators($targetClassName, ConjunctionValidator &$conjunctionValidator)
349
+    protected function addCustomValidators($targetClassName, ConjunctionValidator & $conjunctionValidator)
350 350
     {
351 351
         // @todo: get rid of ClassNamingUtility usage once we dropped underscored class name support
352 352
         $possibleValidatorClassName = ClassNamingUtility::translateModelNameToValidatorName($targetClassName);
Please login to merge, or discard this patch.