@@ -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 | ); |
@@ -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 | } |
@@ -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 | Bootstrap::init(__DIR__ . '/../config'); |
12 | 12 |