Skip to content

Commit

Permalink
Use the word "both" in the PHPUnit --coverage docs
Browse files Browse the repository at this point in the history
By inserting the word "both" it should be more clear that both report types are required for infection to work with the flag. Closes infection#41
  • Loading branch information
nstapelbroek committed Jun 8, 2018
1 parent e090b72 commit 1e1c718
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/guide/command-line-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@ Path to the existing coverage reports.

For `PHPUnit`:

* Infection requires `xml` and `junit` reports
* Infection requires both the`xml` and `junit` reports to work
* If `build/coverage` path is provided, it should contain `coverage-xml` folder and `phpunit.junit.xml` file
* `build/coverage/coverage-xml/*`
* `build/coverage/phpunit.junit.xml`

For `PhpSpec`:

* Infection requires `xml` report
* Infection requires the `xml` report to work
* If `build/coverage` path is provided, it should contain `phpspec-coverage-xml` folder

Example:
Expand Down

0 comments on commit 1e1c718

Please sign in to comment.