Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

PHP_CodeCoverage no longer has a title attribute.

  • Loading branch information...
commit a3309322e537ff2d0202f1fb8f5392a834ec5a12 1 parent 9576cb3
@sebastianbergmann authored
View
12 PHPUnit/TextUI/TestRunner.php
@@ -332,16 +332,6 @@ public function doRun(PHPUnit_Framework_Test $suite, array $arguments = array())
}
if (isset($codeCoverage)) {
- $title = '';
-
- if (isset($arguments['configuration'])) {
- $loggingConfiguration = $arguments['configuration']->getLoggingConfiguration();
-
- if (isset($loggingConfiguration['title'])) {
- $title = $loggingConfiguration['title'];
- }
- }
-
if (isset($arguments['coverageClover'])) {
$this->printer->write(
"\nGenerating code coverage report in Clover XML format ..."
@@ -360,7 +350,6 @@ public function doRun(PHPUnit_Framework_Test $suite, array $arguments = array())
);
$writer = new PHP_CodeCoverage_Report_HTML(
- $title,
$arguments['reportCharset'],
$arguments['reportHighlight'],
$arguments['reportLowUpperBound'],
@@ -400,7 +389,6 @@ public function doRun(PHPUnit_Framework_Test $suite, array $arguments = array())
$writer = new PHP_CodeCoverage_Report_Text(
$outputStream,
- $title,
$arguments['reportLowUpperBound'],
$arguments['reportHighLowerBound'],
$arguments['coverageTextShowUncoveredFiles']
View
2  PHPUnit/Util/Configuration.php
@@ -128,7 +128,7 @@
* </listeners>
*
* <logging>
- * <log type="coverage-html" target="/tmp/report" title="My Project"
+ * <log type="coverage-html" target="/tmp/report"
charset="UTF-8" highlight="false"
* lowUpperBound="35" highLowerBound="70"/>
* <log type="coverage-clover" target="/tmp/clover.xml"/>
View
1  Tests/Util/ConfigurationTest.php
@@ -225,7 +225,6 @@ public function testLoggingConfigurationIsReadCorrectly()
{
$this->assertEquals(
array(
- 'title' => 'My Project',
'charset' => 'UTF-8',
'lowUpperBound' => '35',
'highLowerBound' => '70',
View
4 Tests/_files/configuration.xml
@@ -75,8 +75,8 @@
</listeners>
<logging>
- <log type="coverage-html" target="/tmp/report" title="My Project"
- charset="UTF-8" yui="true" highlight="false"
+ <log type="coverage-html" target="/tmp/report"
+ charset="UTF-8" highlight="false"
lowUpperBound="35" highLowerBound="70"/>
<log type="coverage-clover" target="/tmp/clover.xml"/>
<log type="json" target="/tmp/logfile.json"/>
Please sign in to comment.
Something went wrong with that request. Please try again.