Test Failed
Branch v0.2 (3f77aa)
by Freddie
07:42 queued 01:11
created
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/config/services.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
     CommandBus::class => DI\factory([CommandBusFactory::class, 'create'])
60 60
         ->parameter('locator', DI\get(HandlerLocator::class)),
61 61
 
62
-    HandleBadRequests::class => function (ContainerInterface $c) {
62
+    HandleBadRequests::class => function(ContainerInterface $c) {
63 63
         return new HandleBadRequests(
64 64
             $c->get(SerializerInterface::class)
65 65
         );
Please login to merge, or discard this patch.
src/Shared/config/commands.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
 use Doctrine\ORM\EntityManager;
4 4
 use Doctrine\ORM\Tools\Console\ConsoleRunner;
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
         DI\get(\Doctrine\ORM\Tools\Console\Command\MappingDescribeCommand::class),
82 82
     ]),
83 83
 
84
-    ContainerKeys::CONSOLE_HELPER_SET => function (ContainerInterface $c) {
84
+    ContainerKeys::CONSOLE_HELPER_SET => function(ContainerInterface $c) {
85 85
         return ConsoleRunner::createHelperSet($c->get(EntityManager::class));
86 86
     },
87 87
 
Please login to merge, or discard this patch.
src/Shared/Controller/AppController.php 2 patches
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\Shared\Controller;
4 4
 
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
     private function deserializeRequest(Request $request, string $commandClass)
48 48
     {
49 49
         try {
50
-            $command = $this->serializer->deserialize((string)$request->getBody(), $commandClass, parent::JSON_FORMAT);
50
+            $command = $this->serializer->deserialize((string) $request->getBody(), $commandClass, parent::JSON_FORMAT);
51 51
         } catch (SerializerException $exception) {
52 52
             throw new BadRequestException("Invalid request body", Httpstatuscodes::HTTP_BAD_REQUEST, $exception);
53 53
         }
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,8 @@
 block discarded – undo
48 48
     {
49 49
         try {
50 50
             $command = $this->serializer->deserialize((string)$request->getBody(), $commandClass, parent::JSON_FORMAT);
51
-        } catch (SerializerException $exception) {
51
+        }
52
+        catch (SerializerException $exception) {
52 53
             throw new BadRequestException("Invalid request body", Httpstatuscodes::HTTP_BAD_REQUEST, $exception);
53 54
         }
54 55
 
Please login to merge, or discard this patch.
public/app.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 use Zend\Diactoros\Response\SapiEmitter;
8 8
 use Zend\Diactoros\Response;
9 9
 
10
-$loader = require __DIR__.'/../vendor/autoload.php';
10
+$loader = require __DIR__ . '/../vendor/autoload.php';
11 11
 
12 12
 AnnotationRegistry::registerLoader([$loader, 'loadClass']);
13 13
 
Please login to merge, or discard this patch.