From ead7f9a5eb5e5d09a73f42ec636a9eaf7cdbf59a Mon Sep 17 00:00:00 2001 From: Steve Kamerman Date: Wed, 15 May 2013 23:50:21 -0400 Subject: [PATCH] Added comments --- PHPCI/Plugin/PhpUnit.php | 10 +++++++--- README.md | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/PHPCI/Plugin/PhpUnit.php b/PHPCI/Plugin/PhpUnit.php index 591ec571..1ed744fc 100644 --- a/PHPCI/Plugin/PhpUnit.php +++ b/PHPCI/Plugin/PhpUnit.php @@ -7,11 +7,15 @@ class PhpUnit implements \PHPCI\Plugin protected $directory; protected $args; protected $phpci; + + /** + * @var string $runFrom When running PHPUnit with an XML config, the command is run from this directory + */ protected $runFrom; -/** - * @var string $xmlConfigFile The path of an xml config for PHPUnit - */ + /** + * @var string $xmlConfigFile The path of an xml config for PHPUnit + */ protected $xmlConfigFile; public function __construct(\PHPCI\Builder $phpci, array $options = array()) diff --git a/README.md b/README.md index 5ab5bb3b..1c611cc4 100644 --- a/README.md +++ b/README.md @@ -87,6 +87,7 @@ Similar to Travis CI, to support PHPCI in your project, you simply need to add a - "PHPUnit-ubuntu-fix.xml" directory: - "tests/" + run_from: "phpunit/" php_mess_detector: allow_failures: true php_code_sniffer: