@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | $this->assertSame( |
165 | 165 | JSON_ERROR_NONE, |
166 | 166 | json_last_error(), |
167 | - "Not valid JSON: " . json_last_error_msg() . "(" . var_export($content, true) . ")" |
|
167 | + "Not valid JSON: ".json_last_error_msg()."(".var_export($content, true).")" |
|
168 | 168 | ); |
169 | 169 | } |
170 | 170 | |
@@ -199,7 +199,7 @@ discard block |
||
199 | 199 | { |
200 | 200 | $uri = $path; |
201 | 201 | if (count($params)) { |
202 | - $uri = $path . '?' . http_build_query($params); |
|
202 | + $uri = $path.'?'.http_build_query($params); |
|
203 | 203 | } |
204 | 204 | |
205 | 205 | return $uri; |
@@ -59,7 +59,7 @@ |
||
59 | 59 | { |
60 | 60 | $id = rand(); |
61 | 61 | |
62 | - $responseData = $this->get('/v2/pet/' . $id); |
|
62 | + $responseData = $this->get('/v2/pet/'.$id); |
|
63 | 63 | |
64 | 64 | $this->assertSame($id, $responseData->id); |
65 | 65 | } |
@@ -61,7 +61,7 @@ |
||
61 | 61 | */ |
62 | 62 | public function canFindByCriteria() |
63 | 63 | { |
64 | - $criteria = [ |
|
64 | + $criteria = [ |
|
65 | 65 | (object)[ |
66 | 66 | 'fieldName' => 'x', |
67 | 67 | 'operator' => 'eq', |
@@ -39,7 +39,7 @@ |
||
39 | 39 | |
40 | 40 | public function create(ContainerBuilder $container, $id, $config, $userProvider, $defaultEntryPoint) |
41 | 41 | { |
42 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
42 | + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
43 | 43 | |
44 | 44 | $loader->load('security/request_voting.yml'); |
45 | 45 |
@@ -34,7 +34,7 @@ |
||
34 | 34 | ->beforeNormalization() |
35 | 35 | ->ifString() |
36 | 36 | ->then( |
37 | - function ($v) { |
|
37 | + function($v) { |
|
38 | 38 | return [$v]; |
39 | 39 | } |
40 | 40 | ) |
@@ -170,7 +170,7 @@ discard block |
||
170 | 170 | ->expects($this->once()) |
171 | 171 | ->method('assemble') |
172 | 172 | ->willReturnCallback( |
173 | - function ( |
|
173 | + function( |
|
174 | 174 | Operation $operation, |
175 | 175 | array $query, |
176 | 176 | array $attributes, |
@@ -213,7 +213,7 @@ discard block |
||
213 | 213 | ->expects($this->once()) |
214 | 214 | ->method('assemble') |
215 | 215 | ->willReturnCallback( |
216 | - function ( |
|
216 | + function( |
|
217 | 217 | Operation $operation, |
218 | 218 | array $query, |
219 | 219 | array $attributes, |
@@ -231,7 +231,7 @@ discard block |
||
231 | 231 | ->method('hydrate') |
232 | 232 | ->with($body, $this->isInstanceOf(Schema::class)) |
233 | 233 | ->willReturnCallback( |
234 | - function () use ($dto) { |
|
234 | + function() use ($dto) { |
|
235 | 235 | return $dto; |
236 | 236 | } |
237 | 237 | ); |
@@ -37,7 +37,7 @@ |
||
37 | 37 | */ |
38 | 38 | public function getGetDataAndContentFromException() |
39 | 39 | { |
40 | - $data = (object)[ |
|
40 | + $data = (object)[ |
|
41 | 41 | 'message' => 'Reason', |
42 | 42 | 'extra' => 'foo', |
43 | 43 | ]; |
@@ -29,12 +29,12 @@ discard block |
||
29 | 29 | |
30 | 30 | public function getCacheDir() |
31 | 31 | { |
32 | - return __DIR__ . '/var/cache/' . $this->environment; |
|
32 | + return __DIR__.'/var/cache/'.$this->environment; |
|
33 | 33 | } |
34 | 34 | |
35 | 35 | public function getLogDir() |
36 | 36 | { |
37 | - return __DIR__ . '/var/logs/' . $this->environment; |
|
37 | + return __DIR__.'/var/logs/'.$this->environment; |
|
38 | 38 | } |
39 | 39 | |
40 | 40 | /** |
@@ -42,6 +42,6 @@ discard block |
||
42 | 42 | */ |
43 | 43 | public function registerContainerConfiguration(LoaderInterface $loader) |
44 | 44 | { |
45 | - $loader->load(__DIR__ . '/config/config_' . $this->getEnvironment() . '.yml'); |
|
45 | + $loader->load(__DIR__.'/config/config_'.$this->getEnvironment().'.yml'); |
|
46 | 46 | } |
47 | 47 | } |
@@ -75,7 +75,7 @@ |
||
75 | 75 | return; |
76 | 76 | } |
77 | 77 | |
78 | - $dir = __DIR__ . '/var'; |
|
78 | + $dir = __DIR__.'/var'; |
|
79 | 79 | |
80 | 80 | if (!is_dir($dir)) { |
81 | 81 | return; |