Updated the comments in the PHPUnit plugin to relfect the fact that directory and config file can also be arrays of strings.
This commit is contained in:
parent
9a3f1af008
commit
83f857095d
|
@ -4,9 +4,13 @@ namespace PHPCI\Plugin;
|
||||||
|
|
||||||
class PhpUnit implements \PHPCI\Plugin
|
class PhpUnit implements \PHPCI\Plugin
|
||||||
{
|
{
|
||||||
protected $directory;
|
|
||||||
protected $args;
|
protected $args;
|
||||||
protected $phpci;
|
protected $phpci;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string|string[] $directory The directory (or array of dirs) to run PHPUnit on
|
||||||
|
*/
|
||||||
|
protected $directory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string $runFrom When running PHPUnit with an XML config, the command is run from this directory
|
* @var string $runFrom When running PHPUnit with an XML config, the command is run from this directory
|
||||||
|
@ -14,7 +18,7 @@ class PhpUnit implements \PHPCI\Plugin
|
||||||
protected $runFrom;
|
protected $runFrom;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string $xmlConfigFile The path of an xml config for PHPUnit
|
* @var string|string[] $xmlConfigFile The path (or array of paths) of an xml config for PHPUnit
|
||||||
*/
|
*/
|
||||||
protected $xmlConfigFile;
|
protected $xmlConfigFile;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue