@@ -454,10 +454,7 @@ If you have installed the bridge through Composer, you can run it by calling e.g
454454Code coverage listener
455455----------------------
456456
457- Use case
458- ~~~~~~~~
459-
460- By default the code coverage is computed with the following rule: if a line of
457+ By default, the code coverage is computed with the following rule: if a line of
461458code is executed, then it is marked as covered. And the test which executes a
462459line of code is therefore marked as "covering the line of code". This can be
463460misleading.
@@ -503,7 +500,7 @@ Consider the following example::
503500
504501The ``FooTest::test `` method executes every single line of code of both ``Foo ``
505502and ``Bar `` classes, but ``Bar `` is not truly tested. The ``CoverageListener ``
506- aims to fix this behavior by adding the appropriate `` @covers `` annotation on
503+ aims to fix this behavior by adding the appropriate `@covers `_ annotation on
507504each test class.
508505
509506If a test class already defines the ``@covers `` annotation, this listener does
@@ -530,7 +527,7 @@ Add the following configuration to the ``phpunit.xml.dist`` file
530527 </listeners >
531528 </phpunit >
532529
533- If the logic followed to find the related code is too simple or doesn't work for
530+ If the logic used to find the related code is too simple or doesn't work for
534531your application, you can use your own SUT (System Under Test) solver:
535532
536533.. code-block :: xml
@@ -570,3 +567,4 @@ not find the SUT:
570567.. _`@-silenced` : http://php.net/manual/en/language.operators.errorcontrol.php
571568.. _`Travis CI` : https://travis-ci.org/
572569.. _`test listener` : https://phpunit.de/manual/current/en/appendixes.configuration.html#appendixes.configuration.test-listeners
570+ .. _`@covers` : https://phpunit.de/manual/current/en/appendixes.annotations.html#appendixes.annotations.covers
0 commit comments