@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | namespace Behapi\Debug; |
3 | 3 | |
4 | 4 | use Symfony\Component\Console\Command\Command; |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | namespace Behapi\Json; |
3 | 3 | |
4 | 4 | use stdClass; |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | namespace Behapi; |
3 | 3 | |
4 | 4 | use Psr\Container\ContainerInterface; |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | namespace Behapi\PhpMatcher; |
3 | 3 | |
4 | 4 | use Coduo\PHPMatcher\Matcher; |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | namespace Behapi; |
3 | 3 | |
4 | 4 | use Behat\Testwork\ServiceContainer\Extension; |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | namespace Behapi\HttpHistory; |
3 | 3 | |
4 | 4 | use Symfony\Component\EventDispatcher\EventSubscriberInterface; |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | namespace Behapi\Http; |
3 | 3 | |
4 | 4 | use RuntimeException; |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | namespace Behapi\Http; |
3 | 3 | |
4 | 4 | use Http\Client\Common\Plugin; |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | namespace Behapi\Json; |
3 | 3 | |
4 | 4 | use stdClass; |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | { |
52 | 52 | $this->getJson(); |
53 | 53 | |
54 | - [$contentType,] = explode(';', $this->getResponse()->getHeaderLine('Content-Type'), 2); |
|
54 | + [$contentType, ] = explode(';', $this->getResponse()->getHeaderLine('Content-Type'), 2); |
|
55 | 55 | |
56 | 56 | Assert::same(JSON_ERROR_NONE, json_last_error(), sprintf('The response is not a valid json (%s)', json_last_error_msg())); |
57 | 57 | Assert::oneOf($contentType, $this->getContentTypes(), 'The response should have a valid content-type (expected one of %2$s, got %1$s)'); |