mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
[WIP] first import of automated recipes [WIP] fix configuration file to be able to compile kernel and serve route [WIP] first build of assets [WIP] Continue working on configuration to load a page [WIP] Reset the bin directory [WIP] remove default migrations files [WIP] fix configuration for running tests [WIP] Installation instructions Fix the default firewall in test login [WIP] fix cs [WIP] update gitlab-ci [WIP] update gitlab-ci [WIP] update gitlab ci [WIP] fix config for running tests [WIP] fix gitlab ci [WIP] try tests/bootstrap php file from symfony bridge instead of phpunit recipe remove kernel.php file fix loading of entrypoint.json in test [wip] increase memory limit for phpstan in test/ci [WIP]: set the correct timezone directly within the phpunit.xml.dist file [WIP]: fix security configuration WIP: fix config for testing
22 lines
629 B
PHP
Executable File
22 lines
629 B
PHP
Executable File
#!/usr/bin/env php
|
|
<?php
|
|
|
|
use App\Kernel;
|
|
use Symfony\Bundle\FrameworkBundle\Console\Application;
|
|
|
|
if (!is_dir(dirname(__DIR__).'/vendor')) {
|
|
throw new LogicException('Dependencies are missing. Try running "composer install".');
|
|
}
|
|
|
|
if (!is_file(dirname(__DIR__).'/vendor/autoload_runtime.php')) {
|
|
throw new LogicException('Symfony Runtime is missing. Try running "composer require symfony/runtime".');
|
|
}
|
|
|
|
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
|
|
|
|
return function (array $context) {
|
|
$kernel = new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
|
|
|
|
return new Application($kernel);
|
|
};
|