@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | namespace spec\hanneskod\readmetester\Example; |
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 spec\hanneskod\readmetester\Example; |
6 | 6 | |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | |
48 | 48 | function it_can_create_with_active() |
49 | 49 | { |
50 | - $this->withActive(false)->shouldCreateExampleThat(function ($example) { |
|
50 | + $this->withActive(false)->shouldCreateExampleThat(function($example) { |
|
51 | 51 | return $example->isActive() == false; |
52 | 52 | }); |
53 | 53 | } |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | public function getMatchers(): array |
56 | 56 | { |
57 | 57 | return [ |
58 | - 'createExampleThat' => function (ExampleInterface $example, callable $operation) { |
|
58 | + 'createExampleThat' => function(ExampleInterface $example, callable $operation) { |
|
59 | 59 | return !!$operation($example); |
60 | 60 | } |
61 | 61 | ]; |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | namespace spec\hanneskod\readmetester\Example; |
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 spec\hanneskod\readmetester\Example; |
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 spec\hanneskod\readmetester\Example; |
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 spec\hanneskod\readmetester\Expectation; |
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 spec\hanneskod\readmetester\Utils; |
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 hanneskod\readmetester\Utils; |
6 | 6 | |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | */ |
39 | 39 | private function isRegexp(string $input): bool |
40 | 40 | { |
41 | - set_error_handler(function () { |
|
41 | + set_error_handler(function() { |
|
42 | 42 | }); |
43 | 43 | $result = preg_match($input, ''); |
44 | 44 | restore_error_handler(); |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | namespace spec\hanneskod\readmetester\Expectation; |
6 | 6 |