-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
Description
Right now, the composer.lock file is committed to the repo. This is usually not done for packages, because it locks it to the PHP version of the person generating the lock file. (See bottom of file)
I think the removal of this file could solve the problem where you have to run composer update in CI as well. Since if the lock file is missing, a new one will be generated upon running composer install. This will happen for each version of PHP in the matrix, letting Composer install the latest packages compatible with the current PHP version.
The lock file is not used when installing this as a package in a project in any case.
Hope you understand my ramblings! 😅
Popular packages without composer.lock files: