Skip to content

Commit c74b643

Browse files
committed
Remove library version from Composer install examples
By default, Composer installs the most recent stable version and declares a requirement with the caret operator (allowing any newer versions up to but not including the next major version).
1 parent 6e636cb commit c74b643

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ https://jira.mongodb.org/secure/CreateIssue.jspa?pid=12483&issuetype=1
142142
143143
This library may be installed or upgraded with:
144144
145-
composer require "mongodb/mongodb=^1.0.0"
145+
composer require mongodb/mongodb
146146
147147
Installation instructions for the PHP and HHVM driver may be found in the [PHP.net documentation](http://php.net/manual/en/mongodb.installation.php).
148148
```

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The preferred method of installing this library is with
3636
[Composer](https://getcomposer.org/) by running the following from your project
3737
root:
3838

39-
$ composer require "mongodb/mongodb=^1.0.0"
39+
$ composer require mongodb/mongodb
4040

4141
## Reporting Issues
4242

docs/tutorial/install-php-library.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ root:
3333

3434
.. code-block:: sh
3535

36-
composer require "mongodb/mongodb=^1.0.0"
36+
composer require mongodb/mongodb
3737

3838
While not recommended, you may also manually install the package via
3939
the source tarballs attached to the `GitHub releases

0 commit comments

Comments
 (0)