Passed
Push — master ( ae04ed...829679 )
by Vladimir
04:07
created
src/Check/fs/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/fs/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/fs/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.
src/Check/fs/DiskFree/Check.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,8 +39,8 @@
 block discarded – undo
39 39
         // could not be obtained and we do not care about the real cause of this.
40 40
         $free = @ disk_free_space($this->path);
41 41
 
42
-        if ($free === false || ! is_float($free) || $free < 0) {
43
-            return new Warning('Unable to determine free disk space at ' . $this->path .'.');
42
+        if ($free === false || !is_float($free) || $free < 0) {
43
+            return new Warning('Unable to determine free disk space at '.$this->path.'.');
44 44
         }
45 45
 
46 46
         $freeHumanReadable = static::bytesToString($free, 2);
Please login to merge, or discard this patch.
src/Check/fs/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/fs/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/sys/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/php/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/php/ExtensionNotLoaded/Check.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     public function check()
34 34
     {
35 35
         $r = parent::check();
36
-        if($r instanceof Success) {
36
+        if ($r instanceof Success) {
37 37
             return new Failure($r->getMessage(), $r->getData());
38 38
         } else {
39 39
             return new Success($r->getMessage(), $r->getData());
Please login to merge, or discard this patch.