Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

- Do not store inherited methods.

  • Loading branch information...
commit ba5b3107cba58e94fde4572877deae9bc1b7b30a 1 parent ab6a91f
@sebastianbergmann authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 PHPUnit/Util/Log/PDO.php
View
4 PHPUnit/Util/Log/PDO.php
@@ -468,6 +468,10 @@ public function storeCodeCoverage(PHPUnit_Framework_TestResult $result)
$classId = $this->dbh->lastInsertId();
foreach ($class->getMethods() as $method) {
+ if ($class->getName() != $method->getDeclaringClass()->getName()) {
+ continue;
+ }
+
$startLine = $method->getStartLine();
$endLine = $method->getEndLine();
Please sign in to comment.
Something went wrong with that request. Please try again.