Tags: symfony/flex
Tags
feature #1070 Fix dump-env command when .env files reference other en… …v vars (nicolas-grekas) This PR was merged into the 2.x branch. Discussion ---------- Fix dump-env command when .env files reference other env vars At the moment, running `composer dump-env` on a 7.4 project generates a broken `APP_SHARE_DIR`. The reason is that since symfony/recipes#1465 we define that var as `"$APP_PROJECT_DIR/var/share"` Yet, when the command runs, all env vars are emptied to make the result context-free. This fixes it by hooking into calls to the `getenv()` function. Commits ------- ed41273 Fix dump-env command when .env files reference other env vars
minor #1068 Leverage COMPOSER_PREFER_DEV_OVER_PRERELEASE when possibl… …e (nicolas-grekas) This PR was merged into the 2.x branch. Discussion ---------- Leverage COMPOSER_PREFER_DEV_OVER_PRERELEASE when possible This leverages composer/composer#12585 The code added in #1066 remains as a fallback. Commits ------- cc37c66 Leverage COMPOSER_PREFER_DEV_OVER_PRERELEASE when possible
bug #1054 Don't remove still-referenced files when unconfiguring reci… …pes (nicolas-grekas) This PR was merged into the 2.x branch. Discussion ---------- Don't remove still-referenced files when unconfiguring recipes Instead of #706 Fixes broken logic added in #451, which didn't account for folders. The new logic uses only the symfony.lock file and not the recipe anymore to decide which files to remove. Commits ------- 6443e31 Don't remove still-referenced files when unconfiguring recipes
PreviousNext