X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fbehat%2Fbehat%2Fsrc%2FBehat%2FBehat%2FOutput%2FStatistics%2FStepStat.php;fp=vendor%2Fbehat%2Fbehat%2Fsrc%2FBehat%2FBehat%2FOutput%2FStatistics%2FStepStat.php;h=0000000000000000000000000000000000000000;hp=320d287d8eaf71bdf314d3c249bb10fa1557411a;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/vendor/behat/behat/src/Behat/Behat/Output/Statistics/StepStat.php b/vendor/behat/behat/src/Behat/Behat/Output/Statistics/StepStat.php deleted file mode 100644 index 320d287d8..000000000 --- a/vendor/behat/behat/src/Behat/Behat/Output/Statistics/StepStat.php +++ /dev/null @@ -1,120 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Behat\Behat\Output\Statistics; - -/** - * Behat step stat. - * - * @author Konstantin Kudryashov - * - * @deprecated in favour of StepStatV2 and to be removed in 4.0 - */ -class StepStat -{ - /** - * @var string - */ - private $text; - /** - * @var string - */ - private $path; - /** - * @var integer - */ - private $resultCode; - /** - * @var null|string - */ - private $error; - /** - * @var null|string - */ - private $stdOut; - - /** - * Initializes step stat. - * - * @param string $text - * @param string $path - * @param integer $resultCode - * @param null|string $error - * @param null|string $stdOut - */ - public function __construct($text, $path, $resultCode, $error = null, $stdOut = null) - { - $this->text = $text; - $this->path = $path; - $this->resultCode = $resultCode; - $this->error = $error; - $this->stdOut = $stdOut; - } - - /** - * Returns step text. - * - * @return string - */ - public function getText() - { - return $this->text; - } - - /** - * Returns step path. - * - * @return string - */ - public function getPath() - { - return $this->path; - } - - /** - * Returns step result code. - * - * @return integer - */ - public function getResultCode() - { - return $this->resultCode; - } - - /** - * Returns step error (if has one). - * - * @return null|string - */ - public function getError() - { - return $this->error; - } - - /** - * Returns step output (if has one). - * - * @return null|string - */ - public function getStdOut() - { - return $this->stdOut; - } - - /** - * Returns string representation for a stat. - * - * @return string - */ - public function __toString() - { - return $this->getPath(); - } -}