Property | Type | Description | |
---|---|---|---|
$file | Which file is this check result for. | ||
$violations | Violations held against the file. | ||
$violationsDirty | boolean | Was modified since last violation retrieval? |
Method | Description | |
---|---|---|
addViolation ( |
||
count ( ) : integer | Counts how many violations are in the result. | |
getFile ( ) : |
Returns which file is this check result for. | |
getMaximumViolationSeverity ( ) : integer | null | ||
getViolations ( ) : |
Return all of the violations on the file. | |
hasFailed ( ) : boolean | Returns whether check failed. | |
hasSucceeded ( ) : boolean | Returns whether check succeeded. | |
setFile ( |
Sets which file is this check result for. |
Method | Description | |
---|---|---|
processViolationsIfDirty ( ) | Resorts the violations array if it's been changed. | |
sortViolations ( ) | Sorts the violations by line then column. |
public getFile ( ) : |
||
return |
public getMaximumViolationSeverity ( ) : integer | null | ||
return | integer | null |
public getViolations ( ) : |
||
return |
public hasSucceeded ( ) : boolean | ||
return | boolean |
public setFile ( |
||
$file |
protected File,HippoPHP\Hippo $file | ||
return |
protected Violation[],HippoPHP\Hippo $violations | ||
return |
protected bool $violationsDirty | ||
return | boolean |