@@ -35,10 +35,9 @@ You can install the component in 2 different ways:
3535
3636.. include :: /components/require_autoload.rst.inc
3737
38-
39- If you are using the `Modified PHPUnit script `_ (A.K.A. Simple PHPUnit), then no further step is required. If however
40- you are using the regular `PHPUnit script `_, then you need to register ``SymfonyTestsListener ``
41- (a `PHPUnit test listener `_):
38+ If you plan to :ref: `write-assertions-about-deprecations `_ and use the regular
39+ PHPUnit script (not the modified PHPUnit script provided by Symfony), then you
40+ must register a new `test listener`_ called ``SymfonyTestsListener``:
4241
4342.. code-block :: xml
4443
@@ -54,9 +53,6 @@ you are using the regular `PHPUnit script`_, then you need to register ``Symfony
5453 </listeners >
5554 </phpunit >
5655
57- .. tip :: 3.1
58- Note that this step is mandatory only if you plan to `Write Assertions about Deprecations `_.
59-
6056 Usage
6157-----
6258
@@ -155,6 +151,8 @@ completely disable the deprecation helper. This is useful to make use of the
155151rest of features provided by this component without getting errors or messages
156152related to deprecations.
157153
154+ .. _write-assertions-about-deprecations :
155+
158156Write Assertions about Deprecations
159157-----------------------------------
160158
@@ -424,5 +422,4 @@ If you have installed the bridge through Composer, you can run it by calling e.g
424422.. _`@-silencing operator` : http://php.net/manual/en/language.operators.errorcontrol.php
425423.. _`@-silenced` : http://php.net/manual/en/language.operators.errorcontrol.php
426424.. _`Travis CI` : https://travis-ci.org/
427- .. _`PHPUnit script` : PHPUnit _
428- .. _`PHPUnit test listener` : https://phpunit.de/manual/current/en/appendixes.configuration.html#appendixes.configuration.test-listeners
425+ .. _`test listener` : https://phpunit.de/manual/current/en/appendixes.configuration.html#appendixes.configuration.test-listeners
0 commit comments