Completed
Push — master ( fa3c5f...4b806e )
by Gytis
04:35 queued 02:18
created
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.
src/Inspection/DocTypeInspector.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
                     $subject->addFnTypeWarning('Missing PHPDoc tag or void type declaration for :subject:');
132 132
                 }
133 133
             } else {
134
-                 $subject->addDocTypeWarning('Add type hint in PHPDoc tag for :subject:');
134
+                    $subject->addDocTypeWarning('Add type hint in PHPDoc tag for :subject:');
135 135
             }
136 136
         }
137 137
     }
Please login to merge, or discard this patch.
src/Core/Type/TypeFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@
 block discarded – undo
147 147
         $openScopes = ['<' => 0, '{' => 0, '(' => 0];
148 148
 
149 149
         $len = strlen($rawType);
150
-        for ($pos=0; $pos<=$len-1; $pos++) {
150
+        for ($pos = 0; $pos <= $len - 1; $pos++) {
151 151
             $ch = $rawType[$pos];
152 152
 
153 153
             '<' === $ch && $openScopes['<']++;
Please login to merge, or discard this patch.
src/Sniffs/CompositeCodeElementSniff.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
         // Property keys for CodeElementSniff(s) are applied by the short class name.
50 50
         // E.g. FqcnMethodSniff.invalidTags
51 51
         foreach ($config as $key => $val) {
52
-            if ('sniffs'!== $key && false !== strpos($key, '.')) {
52
+            if ('sniffs' !== $key && false !== strpos($key, '.')) {
53 53
                 [$shortClass, $cfgKey] = explode('.', $key, 2);
54 54
                 if (isset($rawSniffs[$shortClass])) {
55 55
                     $rawSniffs[$shortClass]['config'][$cfgKey] = $val;
Please login to merge, or discard this patch.