WIP: Upgrade skeleton to symfony 5 #18

Draft
julienfastre wants to merge 47 commits from upgrade-sf5 into main
2 changed files with 2 additions and 4 deletions
Showing only changes of commit ca84e9416d - Show all commits

View File

@ -623,7 +623,7 @@
"repo": "github.com/symfony/recipes",
"branch": "main",
"version": "5.3",
"ref": "221b9cc0a623f567e83ccd61a8ac82a9a91e2b5b"
"ref": "07ce01a897311647520b43d4ddddad9537b99ba6"
},
"files": [
".env.test",

View File

@ -4,9 +4,7 @@ use Symfony\Component\Dotenv\Dotenv;
require dirname(__DIR__).'/vendor/autoload.php';
if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {
require dirname(__DIR__).'/config/bootstrap.php';
} elseif (method_exists(Dotenv::class, 'bootEnv')) {
if (method_exists(Dotenv::class, 'bootEnv')) {
(new Dotenv())->bootEnv(dirname(__DIR__).'/.env');
}