Giving plugins an isAllowedInStage() method to protect them from being run at inappropriate times.

Fixes #1122
Fixes #1090
This commit is contained in:
Dan Cryer 2015-11-12 14:41:39 +00:00
commit 9dcb29af5d
42 changed files with 196 additions and 41 deletions

View file

@ -19,7 +19,7 @@ use PHPCI\Model\Build;
* @package PHPCI
* @subpackage Plugins
*/
class Shell implements \PHPCI\Plugin
class Shell extends AbstractPlugin
{
/**
* @var \PHPCI\Builder