1
0
Fork 0

Docs: versions plural, and update == rm lock&install

pull/6093/merge
Nils Adermann 2017-03-08 10:45:46 +01:00
parent 4ccf5b6535
commit 78565d00b9
1 changed files with 3 additions and 2 deletions

View File

@ -147,8 +147,9 @@ still working even if your dependencies released many new versions since then.
As mentioned above, the `composer.lock` file prevents you from automatically getting As mentioned above, the `composer.lock` file prevents you from automatically getting
the latest versions of your dependencies. To update to the latest versions, use the the latest versions of your dependencies. To update to the latest versions, use the
[`update`](03-cli.md#update) command. This will fetch the latest matching [`update`](03-cli.md#update) command. This will fetch the latest matching
versions (according to your `composer.json` file) and also update the lock file versions (according to your `composer.json` file) and update the lock file
with the new version. (This is equivalent to simply deleting the `composer.lock` file.) with the new versions. (This is equivalent to deleting the `composer.lock` file
and running `install` again.)
```sh ```sh
php composer.phar update php composer.phar update