From e59053c528b20e81ac79b50143396877933e467c Mon Sep 17 00:00:00 2001 From: Sebastian Brandt Date: Thu, 24 Jul 2014 14:15:57 +0200 Subject: [PATCH] Update DepthOfInheritance.php --- src/main/php/PHPMD/Rule/Design/DepthOfInheritance.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/php/PHPMD/Rule/Design/DepthOfInheritance.php b/src/main/php/PHPMD/Rule/Design/DepthOfInheritance.php index 0ed591ed7..9ede7f2b7 100644 --- a/src/main/php/PHPMD/Rule/Design/DepthOfInheritance.php +++ b/src/main/php/PHPMD/Rule/Design/DepthOfInheritance.php @@ -70,7 +70,7 @@ public function apply(AbstractNode $node) try { $threshold = $this->getIntProperty('maximum'); $comparision = 1; - } catch (OutOfBoundsException $e) { + } catch (\OutOfBoundsException $e) { $threshold = $this->getIntProperty('minimum'); $comparision = 2; }