D4rkMindz /
gracili
| 1 | <?php |
||
| 2 | |||
| 3 | use App\Service\Mail\MailerInterface; |
||
|
0 ignored issues
–
show
|
|||
| 4 | use Aura\Session\Session; |
||
| 5 | use Symfony\Component\Translation\Translator; |
||
| 6 | |||
| 7 | $config = []; |
||
| 8 | |||
| 9 | $applicationName = 'app_template'; |
||
| 10 | |||
| 11 | $config = [ |
||
| 12 | 'displayErrorDetails' => true, |
||
| 13 | 'determineRouteBeforeAppMiddleware' => true, |
||
| 14 | 'addContentLengthHeader' => false, |
||
| 15 | ]; |
||
| 16 | |||
| 17 | $config[Session::class] = [ |
||
| 18 | 'name' => $applicationName, |
||
| 19 | 'cache_expire' => 14400, |
||
| 20 | ]; |
||
| 21 | |||
| 22 | $config[Translator::class] = [ |
||
| 23 | 'locale' => 'de_CH', |
||
| 24 | 'path' => __DIR__ . '/../resources/locale', |
||
| 25 | ]; |
||
| 26 | |||
| 27 | $config['migrations'] = __DIR__ . '/../resources/migrations'; |
||
| 28 | |||
| 29 | $config['db'] = [ |
||
| 30 | 'database' => 'slim', |
||
| 31 | 'charset' => 'utf8', |
||
| 32 | 'encoding' => 'utf8', |
||
| 33 | 'collation' => 'utf8_unicode_ci', |
||
| 34 | ]; |
||
| 35 | |||
| 36 | $config['db_test'] = [ |
||
| 37 | 'database' => 'slim_test', |
||
| 38 | 'charset' => 'utf8', |
||
| 39 | 'encoding' => 'utf8', |
||
| 40 | 'collation' => 'utf8_unicode_ci', |
||
| 41 | ]; |
||
| 42 | |||
| 43 | $config['twig'] = [ |
||
| 44 | 'viewPath' => __DIR__ . '/../templates', |
||
| 45 | 'cachePath' => __DIR__ . '/../tmp/cache/twig', |
||
| 46 | 'autoReload' => false, |
||
| 47 | 'assetCache' => [ |
||
| 48 | 'path' => __DIR__ . '/../public/assets', |
||
| 49 | // Cache settings |
||
| 50 | 'cache_enabled' => true, |
||
| 51 | 'cache_path' => __DIR__ . '/../tmp/cache', |
||
| 52 | 'cache_name' => 'assets', |
||
| 53 | 'cache_lifetime' => 0, |
||
| 54 | ], |
||
| 55 | ]; |
||
| 56 | |||
| 57 | $config['session'] = [ |
||
| 58 | 'name' => 'app_template', |
||
| 59 | 'autorefresh' => true, |
||
| 60 | 'lifetime' => '2 hours', |
||
| 61 | 'path' => '/', //default |
||
| 62 | 'domain' => null, //default |
||
| 63 | 'secure' => false, //default |
||
| 64 | 'httponly' => false, //default |
||
| 65 | ]; |
||
| 66 | |||
| 67 | $config['logger'] = [ |
||
| 68 | 'main' => 'app', |
||
| 69 | ]; |
||
| 70 | |||
| 71 | return $config; |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths