dependenci / roadmap

The DependenCI Roadmap
https://github.com/orgs/dependenci/projects/1
3 stars 0 forks source link

Update composer.lock on the PR'ed branch #14

Open BusterNeece opened 7 years ago

BusterNeece commented 7 years ago

My automated test suite in my CI toolkit only uses composer install as is recommended, so that it does not change the composer dependencies that will be used by end users installing the product. Even with an updated composer.json file, the test suite will still pass using the old composer.lock dependencies, which does not actually indicate whether or not the new dependencies will succeed.

m1guelpf commented 7 years ago

@SlvrEagle23 Had a look at how Composer generates the lockfile, and it isn't currently possible to generate or modify it. Added a section on the PR body explaining this issue and how to fix it as a temporal solution.