PHPMD cleanup
This commit is contained in:
parent
f89086835a
commit
cb6262d833
21 changed files with 116 additions and 31 deletions
|
|
@ -20,9 +20,18 @@ use PHPCI\Model\Build;
|
|||
*/
|
||||
class Shell implements \PHPCI\Plugin
|
||||
{
|
||||
protected $args;
|
||||
/**
|
||||
* @var \PHPCI\Builder
|
||||
*/
|
||||
protected $phpci;
|
||||
|
||||
/**
|
||||
* @var \PHPCI\Model\Build
|
||||
*/
|
||||
protected $build;
|
||||
|
||||
protected $args;
|
||||
|
||||
/**
|
||||
* @var string[] $commands The commands to be executed
|
||||
*/
|
||||
|
|
@ -30,7 +39,8 @@ class Shell implements \PHPCI\Plugin
|
|||
|
||||
public function __construct(Builder $phpci, Build $build, array $options = array())
|
||||
{
|
||||
$this->phpci = $phpci;
|
||||
$this->phpci = $phpci;
|
||||
$this->build = $build;
|
||||
|
||||
if (isset($options['command'])) {
|
||||
// Keeping this for backwards compatibility, new projects should use interpolation vars.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue