Passed
Push — master ( d49916...10aedd )
by Vladimir
03:38
created
src/Check/CheckFinder.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 
27 27
     public function __construct(array $dirs = null)
28 28
     {
29
-        if($dirs) {
29
+        if ($dirs) {
30 30
             $this->searchDirs = array_merge($this->searchDirs, $dirs);
31 31
         }
32 32
 
@@ -60,11 +60,11 @@  discard block
 block discarded – undo
60 60
             public function leaveNode(/*! important full name for HHVM*/ \PhpParser\Node $node) {
61 61
 
62 62
                 if ($node instanceof Namespace_) {
63
-                    $this->namespace = $node->name . '';
63
+                    $this->namespace = $node->name.'';
64 64
                 }
65 65
 
66 66
                 if ($node instanceof Class_) {
67
-                    $this->class = $node->name . '';
67
+                    $this->class = $node->name.'';
68 68
                 }
69 69
             }
70 70
 
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 
76 76
             public function getClass()
77 77
             {
78
-                if($this->namespace && $this->class) {
78
+                if ($this->namespace && $this->class) {
79 79
                     $res = sprintf('%s\%s', $this->namespace, $this->class);
80 80
                     return $res;
81 81
                 }
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 
100 100
             $class = $vis->getClass();
101 101
 
102
-            if(is_subclass_of($class, CheckConfigInterface::class)) {
102
+            if (is_subclass_of($class, CheckConfigInterface::class)) {
103 103
                 $res[] = $class;
104 104
             }
105 105
 
Please login to merge, or discard this patch.