Skip to content

Commit 78475d2

Browse files
committed
Merge pull request #240 from FriendsOfSymfony/cleanup-install
do not specify version in composer install
2 parents 3945f9b + fa8c99f commit 78475d2

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

doc/installation.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Composer_:
99

1010
.. code-block:: bash
1111
12-
$ composer require friendsofsymfony/http-cache:~2.0
12+
$ composer require friendsofsymfony/http-cache
1313
1414
Note that the library needs a ``psr/http-message-implementation`` and
1515
``php-http/adapter-implementation``. If your project does not contain one,
@@ -19,15 +19,17 @@ When on PHP 5.5+, use the following line instead:
1919

2020
.. code-block:: bash
2121
22-
$ composer require friendsofsymfony/http-cache:~2.0 guzzlehttp/psr7:^1.0 php-http/guzzle6-adapter:^0.1.0
22+
$ composer require friendsofsymfony/http-cache guzzlehttp/psr7:^1.0 php-http/guzzle6-adapter:^0.1.0
2323
2424
On PHP 5.4, the ``php-http/guzzle5-adapter:^0.1.0`` works fine.
2525

2626
.. note::
2727

28-
This library follows `Semantic Versioning`_. Because constraint ``~2.0``
29-
will only increment the minor and patch numbers, it will not introduce BC
30-
breaks.
28+
This library follows `Semantic Versioning`_. Except for major versions, we
29+
aim to not introduce BC breaks in new releases. You should still test your
30+
application after upgrading though. What is a bug fix for somebody could
31+
break something for others when they where (probably unawares) relying on
32+
that bug.
3133

3234
Configuration
3335
-------------

0 commit comments

Comments
 (0)