@@ -35,10 +35,9 @@ You can install the component in 2 different ways:
35
35
36
36
.. include :: /components/require_autoload.rst.inc
37
37
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``:
42
41
43
42
.. code-block :: xml
44
43
@@ -54,9 +53,6 @@ you are using the regular `PHPUnit script`_, then you need to register ``Symfony
54
53
</listeners >
55
54
</phpunit >
56
55
57
- .. tip :: 3.1
58
- Note that this step is mandatory only if you plan to `Write Assertions about Deprecations `_.
59
-
60
56
Usage
61
57
-----
62
58
@@ -155,6 +151,8 @@ completely disable the deprecation helper. This is useful to make use of the
155
151
rest of features provided by this component without getting errors or messages
156
152
related to deprecations.
157
153
154
+ .. _write-assertions-about-deprecations :
155
+
158
156
Write Assertions about Deprecations
159
157
-----------------------------------
160
158
@@ -424,5 +422,4 @@ If you have installed the bridge through Composer, you can run it by calling e.g
424
422
.. _`@-silencing operator` : http://php.net/manual/en/language.operators.errorcontrol.php
425
423
.. _`@-silenced` : http://php.net/manual/en/language.operators.errorcontrol.php
426
424
.. _`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