@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Paraunit\Lifecycle; |
5 | 5 |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Paraunit\File; |
5 | 5 | |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | return; |
80 | 80 | } |
81 | 81 | |
82 | - if (!mkdir($path) && !is_dir($path)) { |
|
82 | + if ( ! mkdir($path) && ! is_dir($path)) { |
|
83 | 83 | throw new \RuntimeException('Unable to create temporary directory ' . $path); |
84 | 84 | } |
85 | 85 | } |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Paraunit\File; |
5 | 5 | |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | */ |
48 | 48 | public static function cleanUpDir(string $dir): bool |
49 | 49 | { |
50 | - if (! file_exists($dir)) { |
|
50 | + if ( ! file_exists($dir)) { |
|
51 | 51 | return false; |
52 | 52 | } |
53 | 53 |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Paraunit\Coverage; |
5 | 5 | |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | |
54 | 54 | private function coverageFileIsValid(string $tempFilename): bool |
55 | 55 | { |
56 | - if (! file_exists($tempFilename)) { |
|
56 | + if ( ! file_exists($tempFilename)) { |
|
57 | 57 | return false; |
58 | 58 | } |
59 | 59 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Paraunit\Coverage\Processor; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Paraunit\Coverage; |
5 | 5 |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Paraunit\Configuration; |
5 | 5 | |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | */ |
29 | 29 | public function getPhpDbgBin(): string |
30 | 30 | { |
31 | - if (! $this->isAvailable()) { |
|
31 | + if ( ! $this->isAvailable()) { |
|
32 | 32 | throw new \RuntimeException('PHPDbg is not available!'); |
33 | 33 | } |
34 | 34 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Paraunit\Configuration; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Paraunit\Parser\JSON; |
5 | 5 |