diff --git a/src/main/php/PDepend/Source/AST/AbstractASTType.php b/src/main/php/PDepend/Source/AST/AbstractASTType.php index 3ac18501f6..4e44208b7f 100644 --- a/src/main/php/PDepend/Source/AST/AbstractASTType.php +++ b/src/main/php/PDepend/Source/AST/AbstractASTType.php @@ -318,6 +318,11 @@ protected function getTraitMethods() foreach ($uses as $use) { foreach ($use->getAllMethods() as $method) { + + if ($method->isAbstract()) { + continue; + } + foreach ($uses as $use2) { if ($use2->hasExcludeFor($method)) { continue 2;