@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | namespace Simplex\Quickstart\Shared\HttpMiddleware; |
| 4 | 4 | |
@@ -32,12 +32,14 @@ |
||
| 32 | 32 | |
| 33 | 33 | $response = $next($request, $response); |
| 34 | 34 | |
| 35 | - } catch (BadRequestException $exception) { |
|
| 35 | + } |
|
| 36 | + catch (BadRequestException $exception) { |
|
| 36 | 37 | |
| 37 | 38 | $response = $response->withStatus(Httpstatuscodes::HTTP_BAD_REQUEST); |
| 38 | 39 | $this->writeViolationsToResponse($exception, $response); |
| 39 | 40 | |
| 40 | - } catch (ResourceNotFoundException $exception) { |
|
| 41 | + } |
|
| 42 | + catch (ResourceNotFoundException $exception) { |
|
| 41 | 43 | |
| 42 | 44 | $response = $response->withStatus(Httpstatuscodes::HTTP_NOT_FOUND); |
| 43 | 45 | } |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | namespace Simplex\Quickstart\Shared\Testing; |
| 4 | 4 | |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | namespace Simplex\Quickstart\Shared\Testing; |
| 4 | 4 | |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | namespace Simplex\Quickstart\Shared\Testing; |
| 4 | 4 | |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | namespace Simplex\Quickstart\Shared\Testing; |
| 4 | 4 | |
@@ -1,4 +1,4 @@ discard block |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | namespace Simplex\Quickstart\Functional\Test; |
| 4 | 4 | |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | |
| 29 | 29 | $this->runProcessWithRetry($process); |
| 30 | 30 | |
| 31 | - self::assertContains('"name":"'. PersonLoader::PERSON_1_NAME . '"', $process->getOutput()); |
|
| 31 | + self::assertContains('"name":"' . PersonLoader::PERSON_1_NAME . '"', $process->getOutput()); |
|
| 32 | 32 | } |
| 33 | 33 | |
| 34 | 34 | private function runProcessWithRetry(Process $process): void |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | namespace Simplex\Quickstart\Functional\Test; |
| 4 | 4 | |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | namespace Simplex\Quickstart\Shared; |
| 4 | 4 | |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | namespace Simplex\Quickstart\Shared\Factory; |
| 4 | 4 | |