PHP Class pchIssue, php-commit-hooks

Show file Open project: kore/php-commit-hooks

Public Properties

Property Type Description
$file string File, which the message has been generated for
$line string Line, or line range, which the message has been generated for
$message string Actual message, describing the occured issue.
$type integer Importance level of issue, should be one of: - E_STRICT - E_NOTICE - E_WARNING - E_ERROR

Public Methods

Method Description
__construct ( integer $type, string $file, string $line, string $message ) : void Construct issue from issue properties.

Method Details

__construct() public method

Construct issue from issue properties.
public __construct ( integer $type, string $file, string $line, string $message ) : void
$type integer
$file string
$line string
$message string
return void

Property Details

$file public property

File, which the message has been generated for
public string $file
return string

$line public property

Line, or line range, which the message has been generated for
public string $line
return string

$message public property

Actual message, describing the occured issue.
public string $message
return string

$type public property

Importance level of issue, should be one of: - E_STRICT - E_NOTICE - E_WARNING - E_ERROR
public int $type
return integer