Skip to content

Fix unpacking packs leaving their dev dependencies in the "packages" section of composer.lock - #1132

Merged
nicolas-grekas merged 1 commit into
2.xfrom
unpack-dev-lock
Oct 29, 2026
Merged

nicolas-grekas merged 1 commit into
2.xfrom
unpack-dev-lock

Conversation

@nicolas-grekas

Copy link
Copy Markdown
Member
Q A
Bug fix? yes
New feature? no
Deprecations? no
Issues -
License MIT

Found while testing the next release. After composer req webapp, the dev dependencies of the packs (phpunit, maker-bundle...) stayed in the packages section of composer.lock, so composer install --no-dev installed them. Flex now moves the packages that only require-dev needs to packages-dev, like Composer does on the next composer update.

@nicolas-grekas
nicolas-grekas merged commit fe3fb28 into 2.x Oct 29, 2026
6 checks passed
@nicolas-grekas
nicolas-grekas deleted the unpack-dev-lock branch October 29, 2026 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant