diff --git a/PHPCI/Builder.php b/PHPCI/Builder.php index 26017d86..4a85d0fd 100644 --- a/PHPCI/Builder.php +++ b/PHPCI/Builder.php @@ -193,7 +193,7 @@ class Builder protected function executePlugins($stage) { - if ( !array_key_exists($stage, $this->config) && !is_array($this->config[$stage]) ) { + if ( !array_key_exists($stage, $this->config) || !is_array($this->config[$stage]) ) { return; }