Fix bug where ruleset file could not be set in PHPMessdetector plugin
This commit is contained in:
parent
d5763b8d78
commit
fb08cdbbe7
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ class PhpMessDetector implements \PHPCI\Plugin
|
|||
}
|
||||
|
||||
foreach ($this->rules as &$rule) {
|
||||
if ($rule[0] !== '/' && strpos($rule, '/') !== false) {
|
||||
if (strpos($rule, '/') !== false) {
|
||||
$rule = $this->phpci->buildPath . $rule;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue