@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | return [ |
| 5 | 5 | 'debug' => false, |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | return [ |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | use Acelaya\Website\Console\Task\BlogFeedConsumerTask; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | use Acelaya\Website\Action\Template; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | return [ |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | use Acelaya\Website\Factory\CacheFactory; |
| 5 | 5 | use Doctrine\Common\Cache\Cache; |
@@ -1,11 +1,11 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | use Zend\Config\Factory; |
| 5 | 5 | use Zend\Stdlib\Glob; |
| 6 | 6 | |
| 7 | 7 | $env = getenv('APP_ENV') ?: 'dev'; |
| 8 | -$mergedConfigFile = __DIR__ . '/../data/cache/config_cache.php'; |
|
| 8 | +$mergedConfigFile = __DIR__.'/../data/cache/config_cache.php'; |
|
| 9 | 9 | |
| 10 | 10 | // If in production and merged config exists, return it |
| 11 | 11 | if ($env === 'pro' && is_file($mergedConfigFile)) { |
@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | } |
| 14 | 14 | |
| 15 | 15 | // Merge configuration files |
| 16 | -$mergedConfig = Factory::fromFiles(Glob::glob(__DIR__ . '/autoload/{,*.}{global,local}.php', Glob::GLOB_BRACE)); |
|
| 16 | +$mergedConfig = Factory::fromFiles(Glob::glob(__DIR__.'/autoload/{,*.}{global,local}.php', Glob::GLOB_BRACE)); |
|
| 17 | 17 | |
| 18 | 18 | // If in production, cache merged config |
| 19 | 19 | if ($env === 'pro') { |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | use Interop\Container\ContainerInterface; |
| 5 | 5 | use Psr\Http\Message\ServerRequestInterface; |
@@ -12,5 +12,5 @@ discard block |
||
| 12 | 12 | } |
| 13 | 13 | |
| 14 | 14 | /** @var ContainerInterface $container */ |
| 15 | -$container = include __DIR__ . '/../config/container.php'; |
|
| 15 | +$container = include __DIR__.'/../config/container.php'; |
|
| 16 | 16 | $app = $container->get(Application::class)->run($container->get(ServerRequestInterface::class)); |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Acelaya\Website\Service; |
| 5 | 5 | |
@@ -18,8 +18,8 @@ discard block |
||
| 18 | 18 | */ |
| 19 | 19 | public function assembleUrl( |
| 20 | 20 | string $name = null, |
| 21 | - $routeParams = [], |
|
| 22 | - $queryParams = [], |
|
| 21 | + $routeParams = [ ], |
|
| 22 | + $queryParams = [ ], |
|
| 23 | 23 | bool $inherit = false |
| 24 | 24 | ): string; |
| 25 | 25 | |