@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | { |
143 | 143 | foreach ($this->definition->parameters as $i => $paramDefinition) { |
144 | 144 | if ($paramDefinition->name === $parameterName) { |
145 | - return '/' . implode('/', [ |
|
145 | + return '/'.implode('/', [ |
|
146 | 146 | 'paths', |
147 | 147 | str_replace(['~', '/'], ['~0', '~1'], $this->getPath()), |
148 | 148 | $this->getMethod(), |
@@ -193,7 +193,7 @@ discard block |
||
193 | 193 | { |
194 | 194 | $segment = str_replace(['~0', '~1'], ['~', '/'], array_shift($segments)); |
195 | 195 | if (property_exists($context, $segment)) { |
196 | - $pointer .= '/' . $segment; |
|
196 | + $pointer .= '/'.$segment; |
|
197 | 197 | if (!count($segments)) { |
198 | 198 | return $pointer; |
199 | 199 | } |
@@ -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 | ], |
@@ -24,7 +24,7 @@ |
||
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 |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | |
28 | 28 | public static function setUpBeforeClass() |
29 | 29 | { |
30 | - static::initSchemaManager(__DIR__ . '/PetStore/app/swagger/data.yml'); |
|
30 | + static::initSchemaManager(__DIR__.'/PetStore/app/swagger/data.yml'); |
|
31 | 31 | } |
32 | 32 | |
33 | 33 | /** |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | */ |
66 | 66 | public function canFindByCriteria() |
67 | 67 | { |
68 | - $criteria = [ |
|
68 | + $criteria = [ |
|
69 | 69 | (object)[ |
70 | 70 | 'fieldName' => 'x', |
71 | 71 | 'operator' => 'eq', |
@@ -37,7 +37,7 @@ |
||
37 | 37 | ->arrayNode('namespace') |
38 | 38 | ->beforeNormalization() |
39 | 39 | ->ifString() |
40 | - ->then(function ($v) { |
|
40 | + ->then(function($v) { |
|
41 | 41 | return [$v]; |
42 | 42 | }) |
43 | 43 | ->end() |