Changeset 95
- Timestamp:
- 07/11/06 13:43:03 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/2.2/classes/phing/tasks/ext/coverage/CoverageReportTask.php
r82 r95 232 232 protected function transformCoverageInformation($filename, $coverageInformation) 233 233 { 234 // Strip last line of coverage information 235 end($coverageInformation); 236 unset($coverageInformation[key($coverageInformation)]); 237 234 238 $classes = PHPUnit2Util::getDefinedClasses($filename, $this->classpath); 235 239 … … 251 255 $methodscovered = 0; 252 256 $methodcount = 0; 253 254 end($coverageInformation);255 unset($coverageInformation[key($coverageInformation)]);256 257 257 258 // Strange PHP5 reflection bug, classes without parent class or implemented interfaces seem to start one line off
