@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -require $app->getConfigurationDir().'/container.php'; |
|
| 3 | +require $app->getConfigurationDir() . '/container.php'; |
|
| 4 | 4 | |
| 5 | -$app['profiler.cache_dir'] = $app->getCacheDir().'/profiler'; |
|
| 5 | +$app['profiler.cache_dir'] = $app->getCacheDir() . '/profiler'; |
|
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -require $app->getConfigurationDir().'/container.dev.php'; |
|
| 3 | +require $app->getConfigurationDir() . '/container.dev.php'; |
|
| 4 | 4 | |
| 5 | 5 | $app['db.options'] = [ |
| 6 | 6 | 'driver' => 'pdo_sqlite', |
| 7 | - 'path' => $app->getCacheDir().'/test.db' |
|
| 7 | + 'path' => $app->getCacheDir() . '/test.db' |
|
| 8 | 8 | ]; |
| 9 | 9 | |
| 10 | 10 | $app['session.test'] = true; |
@@ -2,7 +2,7 @@ discard block |
||
| 2 | 2 | |
| 3 | 3 | use App\Entity\User; |
| 4 | 4 | |
| 5 | -require $app->getConfigurationDir().'/security.php'; |
|
| 5 | +require $app->getConfigurationDir() . '/security.php'; |
|
| 6 | 6 | |
| 7 | 7 | $app['assets.version'] = 'v1'; |
| 8 | 8 | |
@@ -14,16 +14,16 @@ discard block |
||
| 14 | 14 | 'dbname' => $_SERVER['APP_DATABASE_NAME'] |
| 15 | 15 | ]; |
| 16 | 16 | |
| 17 | -$app['monolog.logfile'] = $app->getLogDir().'/'.$app->getEnvironment().'.log'; |
|
| 17 | +$app['monolog.logfile'] = $app->getLogDir() . '/' . $app->getEnvironment() . '.log'; |
|
| 18 | 18 | |
| 19 | 19 | // https://github.com/dflydev/dflydev-doctrine-orm-service-provider |
| 20 | -$app['orm.proxies_dir'] = $app->getCacheDir().'/doctrine/orm/proxies'; |
|
| 20 | +$app['orm.proxies_dir'] = $app->getCacheDir() . '/doctrine/orm/proxies'; |
|
| 21 | 21 | $app['orm.em.options'] = [ |
| 22 | 22 | 'mappings' => [ |
| 23 | 23 | [ |
| 24 | 24 | 'type' => 'annotation', |
| 25 | 25 | 'namespace' => 'App\Entity', |
| 26 | - 'path' => $app->getRootDir().'/src/Entity', |
|
| 26 | + 'path' => $app->getRootDir() . '/src/Entity', |
|
| 27 | 27 | 'use_simple_annotation_reader' => false |
| 28 | 28 | ] |
| 29 | 29 | ] |
@@ -49,12 +49,12 @@ discard block |
||
| 49 | 49 | 'auth_mode' => $_SERVER['APP_MAILER_AUTH_MODE'] |
| 50 | 50 | ]; |
| 51 | 51 | |
| 52 | -$app['translator.cache_dir'] = $app->getCacheDir().'/translations'; |
|
| 52 | +$app['translator.cache_dir'] = $app->getCacheDir() . '/translations'; |
|
| 53 | 53 | |
| 54 | 54 | $app['twig.options'] = [ |
| 55 | - 'cache' => $app->getCacheDir().'/twig' |
|
| 55 | + 'cache' => $app->getCacheDir() . '/twig' |
|
| 56 | 56 | ]; |
| 57 | 57 | |
| 58 | 58 | $app['twig.path'] = [ |
| 59 | - $app->getRootDir().'/templates' |
|
| 59 | + $app->getRootDir() . '/templates' |
|
| 60 | 60 | ]; |