Context: I'm working with a team on PHP projects and we just ran into an issue where a code review from another team member modified the format of the all time
fields in the composer.lock
file. It turned out he was using a much older version of composer which output the time
fields in a different format. Once he updated an re-installed the package, the fields remained the same.
Is there a way to specify a minimum version of Composer to require all team members working on a project to use the minimum version to avoid problems like this. If we hadn't spotted this issue, the composer.lock
file would have had this unnecessary change happen any time new packages were installed by people with different composer versions