From 11932e4b9c18177444786a97d8f30b1f7d876adb Mon Sep 17 00:00:00 2001 From: Dan Cryer Date: Thu, 16 May 2013 16:14:01 +0100 Subject: [PATCH] Fix for ignores in PHPCS --- PHPCI/Plugin/PhpCodeSniffer.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/PHPCI/Plugin/PhpCodeSniffer.php b/PHPCI/Plugin/PhpCodeSniffer.php index 21d0f2fe..c987fe76 100644 --- a/PHPCI/Plugin/PhpCodeSniffer.php +++ b/PHPCI/Plugin/PhpCodeSniffer.php @@ -33,12 +33,6 @@ class PhpCodeSniffer 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 = ' --ignore=' . implode(',', $ignore); }