@@ -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\Formatters; |
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\Formatters; |
6 | 6 | |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | { |
52 | 52 | if($value === '<string>') |
53 | 53 | { |
54 | - $result = function ($value) use ($result) { |
|
54 | + $result = function($value) use ($result) { |
|
55 | 55 | return str_replace('<string>', $value, $result); |
56 | 56 | }; |
57 | 57 | } |
@@ -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; |
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 | } |
@@ -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\Generator\NameTranslators; |
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\Generator; |
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\Generator\ConfigurationFileGenerators; |
6 | 6 | |
@@ -39,12 +39,12 @@ discard block |
||
39 | 39 | |
40 | 40 | foreach($parts as $part) |
41 | 41 | { |
42 | - if(! isset($current[$part])) |
|
42 | + if( ! isset($current[$part])) |
|
43 | 43 | { |
44 | 44 | $current[$part] = array(); |
45 | 45 | } |
46 | 46 | |
47 | - $current= & $current[$part]; |
|
47 | + $current = & $current[$part]; |
|
48 | 48 | } |
49 | 49 | |
50 | 50 | $current = $value; |
@@ -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\Generator\ConfigurationFileGenerators; |
6 | 6 |