When I run composer update
, a lot of dependencies and my composer.json get updated. But, my composer.json
didn't change, so next time I run composer install
, I'll get the outdated ones again.
For instance, I have:
"require": {
"symfony/form": "^4.1",
}
When I run the command It shows:
Updating symfony/dotenv (v4.1.4 => v4.1.5): Loading from cache
But the json line stays the same, and composer install
will install the 4.1.4
version.
Is there a way to update the composer.json file when I run composer update?
Thanks in advance!