Skip to content

Commit

Permalink
XML Configuration for coverage-php wasn't used. This fixes part php-c…
Browse files Browse the repository at this point in the history
…ode-coverage 72
  • Loading branch information
edorian committed Nov 9, 2011
1 parent 1cc127e commit 9f53344
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions PHPUnit/TextUI/TestRunner.php
Expand Up @@ -661,6 +661,11 @@ protected function handleConfiguration(array &$arguments)
!isset($arguments['coverageClover'])) {
$arguments['coverageClover'] = $loggingConfiguration['coverage-clover'];
}

if (isset($loggingConfiguration['coverage-php']) &&
!isset($arguments['coveragePHP'])) {
$arguments['coveragePHP'] = $loggingConfiguration['coverage-php'];
}

if (isset($loggingConfiguration['coverage-text']) &&
!isset($arguments['coverageText'])) {
Expand Down

0 comments on commit 9f53344

Please sign in to comment.