@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Karma\Configuration\Parser; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Karma\Configuration\Parser; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Karma\Configuration\Parser; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Karma\Configuration\Parser; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Karma\Configuration\Parser; |
| 6 | 6 | |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | |
| 29 | 29 | private function checkFilenameIsValid($filename) |
| 30 | 30 | { |
| 31 | - if(! preg_match('~.*\.conf$~', $filename)) |
|
| 31 | + if( ! preg_match('~.*\.conf$~', $filename)) |
|
| 32 | 32 | { |
| 33 | 33 | $this->triggerError("$filename is not a valid file name", 'Invalid dependency'); |
| 34 | 34 | } |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Karma\Configuration\Parser; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Karma\Configuration; |
| 6 | 6 | |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | |
| 43 | 43 | public function setDefaultEnvironment($environment) |
| 44 | 44 | { |
| 45 | - if(! empty($environment) && is_string($environment)) |
|
| 45 | + if( ! empty($environment) && is_string($environment)) |
|
| 46 | 46 | { |
| 47 | 47 | $this->defaultEnvironment = $environment; |
| 48 | 48 | } |
@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | }, $value); |
| 98 | 98 | } |
| 99 | 99 | |
| 100 | - if(! is_string($value)) |
|
| 100 | + if( ! is_string($value)) |
|
| 101 | 101 | { |
| 102 | 102 | return $value; |
| 103 | 103 | } |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Karma\Configuration; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Karma\Configuration; |
| 6 | 6 | |
@@ -10,7 +10,7 @@ discard block |
||
| 10 | 10 | { |
| 11 | 11 | if(is_array($value)) |
| 12 | 12 | { |
| 13 | - return array_map(function ($item) { |
|
| 13 | + return array_map(function($item) { |
|
| 14 | 14 | return $this->filterOneValue($item); |
| 15 | 15 | }, $value); |
| 16 | 16 | } |
@@ -20,7 +20,7 @@ discard block |
||
| 20 | 20 | |
| 21 | 21 | private function filterOneValue($value) |
| 22 | 22 | { |
| 23 | - if(! is_string($value)) |
|
| 23 | + if( ! is_string($value)) |
|
| 24 | 24 | { |
| 25 | 25 | return $value; |
| 26 | 26 | } |