* @author Michel Hartmann * @copyright 2007-2010 Mayflower GmbH * @license http://www.opensource.org/licenses/bsd-license.php BSD License * @version SVN: $Id$ * @link http://www.phpunit.de/ * @since File available since 0.1.2 */ /** * CbIssue * * Object Model for issues. * This object is used for working with common issues types. * * @category PHP_CodeBrowser * @package PHP_CodeBrowser * @author Elger Thiele * @author Michel Hartmann * @copyright 2007-2010 Mayflower GmbH * @license http://www.opensource.org/licenses/bsd-license.php BSD License * @version Release: 1.0.2 * @link http://github.com/mayflowergmbh * @since Class available since 0.1.2 */ class CbIssue { /** * Source file name. * * @var string */ public $fileName; /** * Starting Line of the Issue. * * @var string */ public $lineStart; /** * Ending Line of the Issue. * * @var string */ public $lineEnd; /** * Name of the Plugin that found the Issue. * It is also used for CSS class definitions. * * @var string */ public $foundBy; /** * Issue Description text. * * @var string */ public $description; /** * Severity of the issue. * * @var string */ public $severity; /** * Default constructor * * @param String $fileName The source file name the issue was found in. * @param Integer $lineStart The starting line of the issue. * @param Integer $lineEnd The ending line of registered issue. * @param String $foundBy The plugin name definition. * @param String $description The description of the issue. * @param String $severity */ public function __construct($fileName, $lineStart, $lineEnd, $foundBy, $description, $severity) { $this->fileName = $fileName; $this->lineStart = $lineStart; $this->lineEnd = $lineEnd; $this->foundBy = $foundBy; $this->description = $description; $this->severity = $severity; } }