@@ -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 | } |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | |
| 23 | 23 | public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform): string |
| 24 | 24 | { |
| 25 | - return "DATETIME(6) COMMENT '(DC2Type:" . self::NAME . ")'"; |
|
| 25 | + return "DATETIME(6) COMMENT '(DC2Type:" . self::NAME . ")'"; |
|
| 26 | 26 | } |
| 27 | 27 | |
| 28 | 28 | /** @param \DateTime|null $value */ |
@@ -59,7 +59,7 @@ |
||
| 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 | ); |
@@ -85,7 +85,7 @@ |
||
| 85 | 85 | DI\get(\Doctrine\ORM\Tools\Console\Command\MappingDescribeCommand::class), |
| 86 | 86 | ]), |
| 87 | 87 | |
| 88 | - ContainerKeys::CONSOLE_HELPER_SET => function (ContainerInterface $c) { |
|
| 88 | + ContainerKeys::CONSOLE_HELPER_SET => function(ContainerInterface $c) { |
|
| 89 | 89 | return ConsoleRunner::createHelperSet($c->get(EntityManager::class)); |
| 90 | 90 | }, |
| 91 | 91 | |