@@ -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\Filesystem\Adapters; |
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\Filesystem\Adapters; |
6 | 6 | |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | |
21 | 21 | public function read($key) |
22 | 22 | { |
23 | - if(! $this->exists($key)) |
|
23 | + if( ! $this->exists($key)) |
|
24 | 24 | { |
25 | 25 | return false; |
26 | 26 | } |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | |
46 | 46 | public function mtime($key) |
47 | 47 | { |
48 | - if(! $this->exists($key)) |
|
48 | + if( ! $this->exists($key)) |
|
49 | 49 | { |
50 | 50 | return false; |
51 | 51 | } |
@@ -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; |
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\FormatterProviders; |
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\FormatterProviders; |
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\FormatterProviders; |
6 | 6 | |
@@ -32,14 +32,14 @@ discard block |
||
32 | 32 | |
33 | 33 | private function parseFormatters($content): void |
34 | 34 | { |
35 | - if(! is_array($content)) |
|
35 | + if( ! is_array($content)) |
|
36 | 36 | { |
37 | 37 | throw new \InvalidArgumentException('Syntax error in profile [formatters]'); |
38 | 38 | } |
39 | 39 | |
40 | 40 | foreach($content as $name => $rules) |
41 | 41 | { |
42 | - if(! is_array($rules)) |
|
42 | + if( ! is_array($rules)) |
|
43 | 43 | { |
44 | 44 | throw new \InvalidArgumentException('Syntax error in profile [formatters]'); |
45 | 45 | } |
@@ -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\Configuration; |
6 | 6 | |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | { |
84 | 84 | $files = [$masterFilePath]; |
85 | 85 | |
86 | - while(! empty($files)) |
|
86 | + while( ! empty($files)) |
|
87 | 87 | { |
88 | 88 | foreach($files as $file) |
89 | 89 | { |
@@ -135,7 +135,7 @@ discard block |
||
135 | 135 | |
136 | 136 | private function extractLines(string $filePath): array |
137 | 137 | { |
138 | - if(! $this->fs->has($filePath)) |
|
138 | + if( ! $this->fs->has($filePath)) |
|
139 | 139 | { |
140 | 140 | throw new \RuntimeException("$filePath does not exist"); |
141 | 141 | } |
@@ -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 |