Test Setup Failed
Push — v0.2 ( 4fcc02...4d3792 )
by Freddie
02:59
created
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/Testing/HttpRequestCapabilities.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/Exception/BadRequestException.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\Exception;
4 4
 
Please login to merge, or discard this patch.
phpunit_bootstrap.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-require __DIR__.'/vendor/autoload.php';
3
+require __DIR__ . '/vendor/autoload.php';
4 4
 
5 5
 // Parameters set in .ev.testing will not be overloaded
6
-if (is_readable(__DIR__  . '/.env.testing')) {
6
+if (is_readable(__DIR__ . '/.env.testing')) {
7 7
     $dotenv = new \Dotenv\Dotenv(__DIR__, '.env.testing');
8 8
     $dotenv->load();
9 9
 }
Please login to merge, or discard this patch.
src/Shared/Doctrine/TimestampableEntity.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\Doctrine;
4 4
 
Please login to merge, or discard this patch.
src/Shared/Doctrine/Type/DateTimeMicroType.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\Shared\Doctrine\Type;
4 4
 
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
 
20 20
     public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform): string
21 21
     {
22
-        return "DATETIME(6) COMMENT '(DC2Type:" . self::NAME  . ")'";
22
+        return "DATETIME(6) COMMENT '(DC2Type:" . self::NAME . ")'";
23 23
     }
24 24
 
25 25
     /** @param \DateTime|null $value */
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
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 use Zend\Diactoros\Response\SapiEmitter;
7 7
 use Zend\Diactoros\ServerRequestFactory;
8 8
 
9
-require __DIR__.'/../vendor/autoload.php';
9
+require __DIR__ . '/../vendor/autoload.php';
10 10
 
11 11
 $container = (new Bootstrap(__DIR__ . '/../'))->getContainer();
12 12
 
Please login to merge, or discard this patch.
src/Shared/Factory/SerializerFactory.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\Shared\Factory;
4 4
 
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
         if ($enableCache) {
25 25
             return HateoasBuilder::create()
26 26
                 ->setUrlGenerator(null, new SymfonyUrlGenerator($urlGenerator))
27
-                ->setCacheDir($cacheDir->getPathname(). self::SERIALIZER_CACHE_DIR)
27
+                ->setCacheDir($cacheDir->getPathname() . self::SERIALIZER_CACHE_DIR)
28 28
                 ->setDebug($debugMode)
29 29
                 ->build();
30 30
         }
Please login to merge, or discard this patch.