Skip to content

Commit 97af5bb

Browse files
authored
Merge pull request #559 from FriendsOfSymfony/cleanup-v3-doc
adjust documentation: drop old versionadded notes, adjust link to old…
2 parents 797ae1c + c834200 commit 97af5bb

File tree

3 files changed

+3
-14
lines changed

3 files changed

+3
-14
lines changed

doc/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ This is the documentation for the `FOSHttpCache library <https://github.com/Frie
55

66
.. note::
77

8-
This documentation is for the 2.* version of the library. For the 1.*
9-
version, please refer to the `1.4 documentation`_.
8+
This documentation is for the 3.* version of the library. For the 2.*
9+
version, please refer to the `2.x documentation`_.
1010

1111
This library integrates your PHP applications with HTTP caching proxies such as
1212
Varnish, NGINX or the Symfony HttpCache class. Use this library to send
@@ -34,4 +34,4 @@ Contents:
3434
testing-your-application
3535
contributing
3636

37-
.. _1.4 documentation: http://foshttpcache.readthedocs.io/en/1.4/
37+
.. _2.x documentation: https://foshttpcache.readthedocs.io/en/2.x/

doc/symfony-cache-configuration.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -178,11 +178,6 @@ one of ``client_ips`` or ``client_matcher``*.
178178
Tagging
179179
~~~~~~~
180180

181-
.. versionadded:: 2.1
182-
183-
Support for tag invalidation with Symfony HttpCache has been added in
184-
version 2.1.
185-
186181
To support :doc:`cache tags <response-tagging>`, require the additional package
187182
``toflar/psr6-symfony-http-cache-store:^1.0`` with composer and register the
188183
``PurgeTagsListener`` in your cache kernel. The purge listener needs your cache

doc/testing-your-application.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@ extend your own (or your framework’s) base test classes. For convenience, you
1414
can also extend the FOSHttpCache base test class suitable for your proxy
1515
server, which includes a sensible set of traits.
1616

17-
.. versionadded:: 2.1
18-
19-
The testing has been updated to support PHPUnit 6 in version 2.1. If you
20-
an older version of FOSHttpCache and want to use the features described in
21-
this chapter, you need to use PHPUnit 5 to run the tests.
22-
2317
By using the traits, you get:
2418

2519
* independent tests: all previously cached content is removed in the test’s

0 commit comments

Comments
 (0)