Permalink
Browse files

PHP_CodeCoverage no longer uses YUI.

  • Loading branch information...
1 parent b960cd5 commit 336c3ed85e08bd8d38279d2a0be82d47c8d53b4d @sebastianbergmann committed Sep 17, 2012
Showing with 1 addition and 16 deletions.
  1. +0 −7 PHPUnit/TextUI/TestRunner.php
  2. +1 −8 PHPUnit/Util/Configuration.php
  3. +0 −1 Tests/Util/ConfigurationTest.php
@@ -362,7 +362,6 @@ public function doRun(PHPUnit_Framework_Test $suite, array $arguments = array())
$writer = new PHP_CodeCoverage_Report_HTML(
$title,
$arguments['reportCharset'],
- $arguments['reportYUI'],
$arguments['reportHighlight'],
$arguments['reportLowUpperBound'],
$arguments['reportHighLowerBound'],
@@ -640,11 +639,6 @@ protected function handleConfiguration(array &$arguments)
$arguments['reportCharset'] = $loggingConfiguration['charset'];
}
- if (isset($loggingConfiguration['yui']) &&
- !isset($arguments['reportYUI'])) {
- $arguments['reportYUI'] = $loggingConfiguration['yui'];
- }
-
if (isset($loggingConfiguration['highlight']) &&
!isset($arguments['reportHighlight'])) {
$arguments['reportHighlight'] = $loggingConfiguration['highlight'];
@@ -787,7 +781,6 @@ protected function handleConfiguration(array &$arguments)
$arguments['reportHighlight'] = isset($arguments['reportHighlight']) ? $arguments['reportHighlight'] : FALSE;
$arguments['reportHighLowerBound'] = isset($arguments['reportHighLowerBound']) ? $arguments['reportHighLowerBound'] : 70;
$arguments['reportLowUpperBound'] = isset($arguments['reportLowUpperBound']) ? $arguments['reportLowUpperBound'] : 35;
- $arguments['reportYUI'] = isset($arguments['reportYUI']) ? $arguments['reportYUI'] : TRUE;
$arguments['stopOnError'] = isset($arguments['stopOnError']) ? $arguments['stopOnError'] : FALSE;
$arguments['stopOnFailure'] = isset($arguments['stopOnFailure']) ? $arguments['stopOnFailure'] : FALSE;
$arguments['stopOnIncomplete'] = isset($arguments['stopOnIncomplete']) ? $arguments['stopOnIncomplete'] : FALSE;
@@ -129,7 +129,7 @@
*
* <logging>
* <log type="coverage-html" target="/tmp/report" title="My Project"
- charset="UTF-8" yui="true" highlight="false"
+ charset="UTF-8" highlight="false"
* lowUpperBound="35" highLowerBound="70"/>
* <log type="coverage-clover" target="/tmp/clover.xml"/>
* <log type="json" target="/tmp/logfile.json"/>
@@ -404,13 +404,6 @@ public function getLoggingConfiguration()
$result['highLowerBound'] = (string)$log->getAttribute('highLowerBound');
}
- if ($log->hasAttribute('yui')) {
- $result['yui'] = $this->getBoolean(
- (string)$log->getAttribute('yui'),
- TRUE
- );
- }
-
if ($log->hasAttribute('highlight')) {
$result['highlight'] = $this->getBoolean(
(string)$log->getAttribute('highlight'),
@@ -229,7 +229,6 @@ public function testLoggingConfigurationIsReadCorrectly()
'charset' => 'UTF-8',
'lowUpperBound' => '35',
'highLowerBound' => '70',
- 'yui' => TRUE,
'highlight' => FALSE,
'coverage-html' => '/tmp/report',
'coverage-clover' => '/tmp/clover.xml',

0 comments on commit 336c3ed

Please sign in to comment.