@@ -1,4 +1,4 @@ discard block |
||
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 |
||
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 |
@@ -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\Exception; |
4 | 4 |
@@ -1,9 +1,9 @@ |
||
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 | } |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace Simplex\Quickstart\Shared\Doctrine; |
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\Shared\Doctrine\Type; |
4 | 4 | |
@@ -19,7 +19,7 @@ discard block |
||
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 */ |
@@ -6,7 +6,7 @@ |
||
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 |
@@ -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\Shared\Factory; |
4 | 4 | |
@@ -24,7 +24,7 @@ discard block |
||
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 | } |