Completed
Branch new_warnings (16b53a)
by Gytis
04:14
created
src/Sniffs/CompositeCodeElementSniff.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
         // Property keys for CodeElementSniff(s) are applied by the short class name.
45 45
         // E.g. FqcnMethodSniff.usefulTags
46 46
         foreach ($config as $key => $val) {
47
-            if ('sniffs'!== $key && false !== strpos($key, '.')) {
47
+            if ('sniffs' !== $key && false !== strpos($key, '.')) {
48 48
                 [$shortClass, $cfgKey] = explode('.', $key, 2);
49 49
                 if (isset($rawSniffs[$shortClass])) {
50 50
                     $rawSniffs[$shortClass]['config'][$cfgKey] = $val;
Please login to merge, or discard this patch.
src/Sniffs/AbstractConfigurableSniff.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
                 }
32 32
             }
33 33
 
34
-            array_walk_recursive($opts, function (&$val) {
34
+            array_walk_recursive($opts, function(&$val) {
35 35
                 if ('true' === $val) {
36 36
                     $val = true;
37 37
                 } elseif ('false' === $val) {
Please login to merge, or discard this patch.
src/Sniffs/CodeElement/FqcnDescriptionSniff.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 
33 33
         $this->invalidTags = array_merge($this->invalidTags, $config['invalidTags'] ?? []);
34 34
         foreach ($this->invalidTags as &$invalidTag) {
35
-             $invalidTag = substr($invalidTag, 1);
35
+                $invalidTag = substr($invalidTag, 1);
36 36
         }
37 37
     }
38 38
 
Please login to merge, or discard this patch.
src/Core/Type/TypeHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 
33 33
         foreach ($typedArrayTypes as $typedArrayType) {
34 34
             if ($typedArrayType->getType() instanceof ArrayType) {
35
-                return $typedArrayType;  // e.g. array[][]
35
+                return $typedArrayType; // e.g. array[][]
36 36
             }
37 37
         }
38 38
 
Please login to merge, or discard this patch.