Completed
Push — master ( d57bc0...e96b7c )
by Vladimir
03:43
created
src/TviMonitorBundle.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
         if (!\function_exists('error_clear_last')) {
29 29
             function error_clear_last()
30 30
             {
31
-                \set_error_handler(function () {});
31
+                \set_error_handler(function() {});
32 32
                 try {
33 33
                     \trigger_error('');
34 34
                 } catch (\Exception $e) {
Please login to merge, or discard this patch.
src/Check/CheckFinder.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -27,12 +27,12 @@  discard block
 block discarded – undo
27 27
 
28 28
     public function __construct(array $dirs = null)
29 29
     {
30
-        if($dirs) {
30
+        if ($dirs) {
31 31
             $this->searchDirs = array_merge($this->searchDirs, $dirs);
32 32
         }
33 33
 
34 34
         $this->parser = (new ParserFactory)->create(ParserFactory::PREFER_PHP7);
35
-        $this->traverser     = new NodeTraverser;
35
+        $this->traverser = new NodeTraverser;
36 36
     }
37 37
 
38 38
     /**
@@ -60,11 +60,11 @@  discard block
 block discarded – undo
60 60
             public function leaveNode(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.