Completed
Branch type_comparison (9591da)
by Gytis
03:49
created
Category
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.