@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /* |
3 | 3 | * This file is part of the KleijnWeb\SwaggerBundle package. |
4 | 4 | * |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /* |
3 | 3 | * This file is part of the KleijnWeb\SwaggerBundle package. |
4 | 4 | * |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | $this->contentDecoderMock |
34 | 34 | ->expects($this->any()) |
35 | 35 | ->method('decodeContent') |
36 | - ->willReturnCallback(function (Request $request) { |
|
36 | + ->willReturnCallback(function(Request $request) { |
|
37 | 37 | return json_decode($request->getContent()); |
38 | 38 | }); |
39 | 39 | } |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /* |
3 | 3 | * This file is part of the KleijnWeb\SwaggerBundle package. |
4 | 4 | * |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /* |
3 | 3 | * This file is part of the KleijnWeb\SwaggerBundle package. |
4 | 4 | * |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | */ |
25 | 25 | public function canParseNumericMap() |
26 | 26 | { |
27 | - $yaml = <<<YAML |
|
27 | + $yaml = <<<YAML |
|
28 | 28 | map: |
29 | 29 | 1: one |
30 | 30 | 2: two |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /* |
3 | 3 | * This file is part of the KleijnWeb\SwaggerBundle package. |
4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /* |
3 | 3 | * This file is part of the KleijnWeb\SwaggerBundle package. |
4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /* |
3 | 3 | * This file is part of the KleijnWeb\SwaggerBundle package. |
4 | 4 | * |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | ->getMockBuilder('KleijnWeb\SwaggerBundle\Document\ParameterRefBuilder') |
36 | 36 | ->disableOriginalConstructor() |
37 | 37 | ->getMock(); |
38 | - $this->factory = new VndValidationErrorFactory($this->refBuilder); |
|
38 | + $this->factory = new VndValidationErrorFactory($this->refBuilder); |
|
39 | 39 | } |
40 | 40 | |
41 | 41 | /** |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | */ |
71 | 71 | public function resultIncludesErrorMessagesCreatedByJsonSchema() |
72 | 72 | { |
73 | - $value = (object)[ |
|
73 | + $value = (object)[ |
|
74 | 74 | 'foo' => (object)[ |
75 | 75 | 'blah' => 'one' |
76 | 76 | ], |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /* |
3 | 3 | * This file is part of the KleijnWeb\SwaggerBundle package. |
4 | 4 | * |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | $jsonEncoderMock |
45 | 45 | ->expects($this->once()) |
46 | 46 | ->method('encode') |
47 | - ->willReturnCallback(function ($string) { |
|
47 | + ->willReturnCallback(function($string) { |
|
48 | 48 | $data = json_encode($string); |
49 | 49 | if (is_null($data)) { |
50 | 50 | throw new \Exception(); |