@@ -39,8 +39,8 @@ |
||
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); |
@@ -33,7 +33,7 @@ |
||
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()); |
@@ -20,8 +20,8 @@ |
||
20 | 20 | ->children() |
21 | 21 | ->arrayNode('check') |
22 | 22 | ->beforeNormalization() |
23 | - ->always(function ($value) { |
|
24 | - if(isset($value['extensionName']) && !is_array($value['extensionName'])) { |
|
23 | + ->always(function($value) { |
|
24 | + if (isset($value['extensionName']) && !is_array($value['extensionName'])) { |
|
25 | 25 | $value['extensionName'] = [$value['extensionName']]; |
26 | 26 | } |
27 | 27 | return $value; |
@@ -45,8 +45,8 @@ |
||
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; |
@@ -45,8 +45,8 @@ |
||
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; |