Skip to content

Commit 46ebbb0

Browse files
committed
Fix installation instructions for stable version
Composer uses "stable" as default stability. so switch project to that to avoid surprises. Also move PHP_CodeCoverage to "require-dev" section, same as PHPUnit.
1 parent 28d21b5 commit 46ebbb0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212

1313
## Installation
1414

15-
To add PHP_CodeCoverage as a local, per-project dependency to your project, simply add a dependency on `phpunit/php-code-coverage` to your project's `composer.json` file. Here is a minimal example of a `composer.json` file that just defines a dependency on PHP_CodeCoverage 3.0:
15+
To add PHP_CodeCoverage as a local, per-project dependency to your project, simply add a dependency on `phpunit/php-code-coverage` to your project's `composer.json` file. Here is a minimal example of a `composer.json` file that just defines a dependency on PHP_CodeCoverage 2.0:
1616

1717
{
18-
"require": {
19-
"phpunit/php-code-coverage": "3.0.*"
18+
"require-dev": {
19+
"phpunit/php-code-coverage": "2.0.*"
2020
}
2121
}
2222

0 commit comments

Comments
 (0)