PHPSA\Issue::__construct PHP Method

__construct() public method

public __construct ( string $checkName, string $description, IssueLocation $location, array $categories = [self::CATEGORY_BUG_RISK] )
$checkName string
$description string
$location IssueLocation
$categories array
    public function __construct($checkName, $description, IssueLocation $location, array $categories = [self::CATEGORY_BUG_RISK])
    {
        $this->checkName = $checkName;
        $this->description = $description;
        $this->location = $location;
        $this->categories = $categories;
    }