dialogik
dialogik

Reputation: 9552

Symfony lock file not up to date even after running composer update

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?

Upvotes: 3

Views: 2383

Answers (1)

Seldaek
Seldaek

Reputation: 42036

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.

Upvotes: 1

Related Questions