From dcf2e78781cbac629d7dd7eeeaa6a2616d7a67a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20L=C3=B8vgaard?= Date: Mon, 19 Oct 2026 13:52:07 +0200 Subject: [PATCH] Link the symfony-lsp issue from the APP_SECRET fallback The fallback only exists because symfony-lsp loads .env from the analyzed root rather than the kernel's project dir. Point at the upstream issue, so it's clear when the fallback can be removed. --- tests/Application/config/packages/framework.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Application/config/packages/framework.yaml b/tests/Application/config/packages/framework.yaml index 753cd81..6e16e72 100644 --- a/tests/Application/config/packages/framework.yaml +++ b/tests/Application/config/packages/framework.yaml @@ -1,7 +1,7 @@ parameters: # Adds a fallback APP_SECRET if the env var is not set, like DATABASE_URL in doctrine.yaml. symfony lsp:check # analyzes the repository root and only loads a .env file from there, so it boots the kernel without - # tests/Application/.env + # tests/Application/.env. Remove this once that is fixed: https://github.com/symfony/language-tools/issues/120 env(APP_SECRET): 'EDITME' framework: