Test Failed
Push — master ( 1d6b64...a7292a )
by Vladimir
05:19
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.
src/Check/ClassExists/Config.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,8 @@
 block discarded – undo
45 45
                             ->isRequired()
46 46
                             ->beforeNormalization()
47 47
                                 ->ifString()
48
-                                ->then(function ($value) {
49
-                                    if(is_string($value))  {
48
+                                ->then(function($value) {
49
+                                    if (is_string($value)) {
50 50
                                         $value = [$value];
51 51
                                     }
52 52
                                     return $value;
Please login to merge, or discard this patch.
src/Check/CpuPerformance/Check.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     {
31 31
         // Check if bcmath extension is present
32 32
         // @codeCoverageIgnoreStart
33
-        if (! extension_loaded('bcmath')) {
33
+        if (!extension_loaded('bcmath')) {
34 34
             return new Warning('Check\CpuPerformance requires BCMath extension to be loaded.');
35 35
         }
36 36
         // @codeCoverageIgnoreEnd
Please login to merge, or discard this patch.
src/Check/XmlFile/Config.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,8 @@
 block discarded – undo
45 45
                             ->isRequired()
46 46
                             ->beforeNormalization()
47 47
                                 ->ifString()
48
-                                ->then(function ($value) {
49
-                                    if(is_string($value))  {
48
+                                ->then(function($value) {
49
+                                    if (is_string($value)) {
50 50
                                         $value = [$value];
51 51
                                     }
52 52
                                     return $value;
Please login to merge, or discard this patch.
src/Check/IniFile/Config.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,8 @@
 block discarded – undo
45 45
                             ->isRequired()
46 46
                             ->beforeNormalization()
47 47
                                 ->ifString()
48
-                                ->then(function ($value) {
49
-                                    if(is_string($value))  {
48
+                                ->then(function($value) {
49
+                                    if (is_string($value)) {
50 50
                                         $value = [$value];
51 51
                                     }
52 52
                                     return $value;
Please login to merge, or discard this patch.
src/Check/JsonFile/Config.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,8 @@
 block discarded – undo
45 45
                             ->isRequired()
46 46
                             ->beforeNormalization()
47 47
                                 ->ifString()
48
-                                ->then(function ($value) {
49
-                                    if(is_string($value))  {
48
+                                ->then(function($value) {
49
+                                    if (is_string($value)) {
50 50
                                         $value = [$value];
51 51
                                     }
52 52
                                     return $value;
Please login to merge, or discard this patch.
src/Check/YamlFile/Config.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,8 @@
 block discarded – undo
45 45
                             ->isRequired()
46 46
                             ->beforeNormalization()
47 47
                                 ->ifString()
48
-                                ->then(function ($value) {
49
-                                    if(is_string($value))  {
48
+                                ->then(function($value) {
49
+                                    if (is_string($value)) {
50 50
                                         $value = [$value];
51 51
                                     }
52 52
                                     return $value;
Please login to merge, or discard this patch.
src/Check/DirWritable/Config.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,8 @@
 block discarded – undo
45 45
                             ->isRequired()
46 46
                             ->beforeNormalization()
47 47
                                 ->ifString()
48
-                                ->then(function ($value) {
49
-                                    if(is_string($value))  {
48
+                                ->then(function($value) {
49
+                                    if (is_string($value)) {
50 50
                                         $value = [$value];
51 51
                                     }
52 52
                                     return $value;
Please login to merge, or discard this patch.
src/Check/DirReadable/Config.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,8 @@
 block discarded – undo
45 45
                             ->isRequired()
46 46
                             ->beforeNormalization()
47 47
                                 ->ifString()
48
-                                ->then(function ($value) {
49
-                                    if(is_string($value))  {
48
+                                ->then(function($value) {
49
+                                    if (is_string($value)) {
50 50
                                         $value = [$value];
51 51
                                     }
52 52
                                     return $value;
Please login to merge, or discard this patch.