Merge pull request #1124 from Block8/REBELinBLUE-patch-1
Fixes a issue with a double slash in the path meaning ignore doesn't …
This commit is contained in:
commit
6eb180ed5f
|
@ -116,8 +116,7 @@ class Lint implements PHPCI\Plugin
|
|||
continue;
|
||||
}
|
||||
|
||||
$itemPath = rtrim($path, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR;
|
||||
$itemPath .= ltrim($item->getFilename(), DIRECTORY_SEPARATOR);
|
||||
$itemPath = $path . $item->getFilename();
|
||||
|
||||
if (in_array($itemPath, $this->ignore)) {
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue