@@ -14,8 +14,8 @@ |
||
14 | 14 | use Behat\Gherkin\Node\TableNode; |
15 | 15 | use GuzzleHttp\ClientInterface; |
16 | 16 | use GuzzleHttp\Exception\RequestException; |
17 | -use PHPUnit_Framework_Assert as Assertions; |
|
18 | 17 | use GuzzleHttp\Psr7\Request; |
18 | +use PHPUnit_Framework_Assert as Assertions; |
|
19 | 19 | use Psr\Http\Message\ResponseInterface; |
20 | 20 | |
21 | 21 | /** |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | parse_str(implode('&', explode("\n", $body)), $fields); |
165 | 165 | |
166 | 166 | foreach ($fields as $key => $value) { |
167 | - if(is_array($value)) { |
|
167 | + if (is_array($value)) { |
|
168 | 168 | foreach ($value as $formKey => $formValue) { |
169 | 169 | $requestFields[] = sprintf('%s%s=%s', urlencode($key), urlencode('[' . $formKey . ']'), urlencode($formValue)); |
170 | 170 | } |
@@ -241,7 +241,7 @@ discard block |
||
241 | 241 | |
242 | 242 | if (null === $expected) { |
243 | 243 | throw new \RuntimeException( |
244 | - "Can not convert expected to json:\n".$this->replacePlaceHolder($jsonString->getRaw()) |
|
244 | + "Can not convert expected to json:\n" . $this->replacePlaceHolder($jsonString->getRaw()) |
|
245 | 245 | ); |
246 | 246 | } |
247 | 247 |