I just ran a composer update on my local machine for my Symfony2 app, which also updated the projects composer.lock file.
Now I git add -A and git commit changes.
But when I git push my repository to my cloudControl deployment, I get the message:
Warning: The lock file is not up to date with the latest changes in
composer.json. You may be getting outdated dependencies. Run update
to update them.
I just ran the update. So what is wrong here?
I would imagine that if you get this on a remote machine after running update locally the only explanation is that you did not commit the composer.lock file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With