Skip to content

Commit

Permalink
Preparing for 2.0.2 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
ezzatron committed Jan 6, 2017
1 parent 38fb61b commit ee6b664
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
peridot-code-coverage-reporters
===============================
# Peridot Code Coverage Reporters

[![Packagist Version](https://img.shields.io/packagist/v/peridot-php/peridot-code-coverage-reporters.svg?style=flat-square "Packagist Version")](https://packagist.org/packages/peridot-php/peridot-code-coverage-reporters)
[![Build Status](https://img.shields.io/travis/peridot-php/peridot-code-coverage-reporters/master.svg?style=flat-square "Build Status")](https://travis-ci.org/peridot-php/peridot-code-coverage-reporters)
Expand Down Expand Up @@ -32,7 +31,7 @@ return function (EventEmitterInterface $eventEmitter) {
});

$eventEmitter->on('code-coverage.start', function (AbstractCodeCoverageReporter $reporter) {
$reporter->addDirectoryToWhitelist(__DIR__ . '/src')->addDirectoryToWhitelist(__DIR__ . '/specs');
$reporter->addDirectoryToWhitelist(__DIR__ . '/src');
});
};
```
Expand All @@ -55,7 +54,7 @@ Since we only want code coverage reported for our source, we whitelist the `src`

```php
$eventEmitter->on('code-coverage.start', function (AbstractCodeCoverageReporter $reporter) {
$reporter->addDirectoryToWhitelist(__DIR__ . '/src')->addDirectoryToWhitelist(__DIR__ . '/specs');
$reporter->addDirectoryToWhitelist(__DIR__ . '/src');
});
```

0 comments on commit ee6b664

Please sign in to comment.