From fb08cdbbe7d1411c40563e057b81cd6de82ec6e7 Mon Sep 17 00:00:00 2001 From: Roy Lindauer Date: Sun, 10 Nov 2013 18:22:54 -0800 Subject: [PATCH] Fix bug where ruleset file could not be set in PHPMessdetector plugin --- PHPCI/Plugin/PhpMessDetector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PHPCI/Plugin/PhpMessDetector.php b/PHPCI/Plugin/PhpMessDetector.php index 000f842e..89c22f66 100755 --- a/PHPCI/Plugin/PhpMessDetector.php +++ b/PHPCI/Plugin/PhpMessDetector.php @@ -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; } }