Fix for ignores in PHPCS

This commit is contained in:
Dan Cryer 2013-05-16 16:14:01 +01:00
parent 645936f309
commit 11932e4b9c

View file

@ -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);
}