From 953a209d6d75250ba1f25ff6481a471d9c4ce609 Mon Sep 17 00:00:00 2001 From: Dan Cryer Date: Thu, 16 May 2013 16:25:26 +0100 Subject: [PATCH] Fixing exclude functionality in PHPMD --- PHPCI/Plugin/PhpMessDetector.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/PHPCI/Plugin/PhpMessDetector.php b/PHPCI/Plugin/PhpMessDetector.php index a2e7795b..b03f4459 100644 --- a/PHPCI/Plugin/PhpMessDetector.php +++ b/PHPCI/Plugin/PhpMessDetector.php @@ -29,11 +29,6 @@ class PhpMessDetector implements \PHPCI\Plugin $ignore = ''; if (count($this->phpci->ignore)) { - $map = function ($item) { - return substr($item, -1) == '/' ? $item . '*' : $item . '/*'; - }; - $ignore = array_map($map, $this->phpci->ignore); - $ignore = ' --exclude ' . implode(',', $ignore); }