Passed
Push — v0.2 ( 1dc74b...5ef583 )
by Freddie
02:36
created
src/Shared/HttpMiddleware/HandleBadRequests.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace Simplex\Quickstart\Shared\HttpMiddleware;
4 4
 
Please login to merge, or discard this patch.
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,12 +32,14 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
src/Shared/Testing/FixtureLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace Simplex\Quickstart\Shared\Testing;
4 4
 
Please login to merge, or discard this patch.
src/Shared/Testing/ReflectionPropertyCapabilities.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace Simplex\Quickstart\Shared\Testing;
4 4
 
Please login to merge, or discard this patch.
src/Shared/Testing/FunctionalTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace Simplex\Quickstart\Shared\Testing;
4 4
 
Please login to merge, or discard this patch.
src/Shared/Testing/PhpWebServer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace Simplex\Quickstart\Shared\Testing;
4 4
 
Please login to merge, or discard this patch.
src/Shared/Test/Functional/WebApplicationTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Shared/Test/Functional/ConsoleRunnerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace Simplex\Quickstart\Functional\Test;
4 4
 
Please login to merge, or discard this patch.
src/Shared/SharedModule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace Simplex\Quickstart\Shared;
4 4
 
Please login to merge, or discard this patch.
src/Shared/Factory/DoctrineOrmFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace Simplex\Quickstart\Shared\Factory;
4 4
 
Please login to merge, or discard this patch.