From 9dd52af2c66cddf8696541d23fe892b0e1a37609 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Tue, 5 Sep 2023 14:30:52 +0200 Subject: [PATCH] Upgrade recipes: symfony/flex --- .env | 16 ++++++++++++---- symfony.lock | 6 +++--- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/.env b/.env index 5e82c42..a2c6bac 100644 --- a/.env +++ b/.env @@ -1,7 +1,15 @@ -## -## Manually dump .env files in .env.local.php with -## `$ composer symfony:dump-env prod` -## +# * .env contains default values for the environment variables needed by the app +# * .env.local uncommitted file with local overrides +# * .env.$APP_ENV committed environment-specific defaults +# * .env.$APP_ENV.local uncommitted environment-specific overrides +# +# Real environment variables win over .env files. +# +# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES. +# https://symfony.com/doc/current/configuration/secrets.html +# +# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2). +# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration ## Locale LOCALE=fr diff --git a/symfony.lock b/symfony.lock index fe1fbb1..3aeb1c2 100644 --- a/symfony.lock +++ b/symfony.lock @@ -516,12 +516,12 @@ "version": "v5.1.3" }, "symfony/flex": { - "version": "1.0", + "version": "1.20", "recipe": { "repo": "github.com/symfony/recipes", - "branch": "master", + "branch": "main", "version": "1.0", - "ref": "c0eeb50665f0f77226616b6038a9b06c03752d8e" + "ref": "146251ae39e06a95be0fe3d13c807bcf3938b172" }, "files": [ ".env"