From a942525f84f1717b60ffe8c44e431bc75b40effa Mon Sep 17 00:00:00 2001 From: "steve.brazier" Date: Fri, 6 Dec 2013 09:59:07 +0000 Subject: [PATCH] switch to correct namespace separator in plugin construction. --- PHPCI/Builder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PHPCI/Builder.php b/PHPCI/Builder.php index 1f526b35..701ee463 100644 --- a/PHPCI/Builder.php +++ b/PHPCI/Builder.php @@ -421,7 +421,7 @@ class Builder implements LoggerAwareInterface // Any plugin name without a namespace separator is a PHPCI built in plugin // if not we assume it's a fully name-spaced class name that implements the plugin interface. // If not the factory will throw an exception. - if (strpos($plugin, "/") === false) { + if (strpos($plugin, '\\') === false) { $class = str_replace('_', ' ', $plugin); $class = ucwords($class); $class = 'PHPCI\\Plugin\\' . str_replace(' ', '', $class);