Property | Type | Description | |
---|---|---|---|
$categories | string | Required. At least one category indicating the nature of the issue being reported. | |
$checkName | string | Required. A unique name representing the static analysis check that emitted this issue. | |
$content | string | Optional. A markdown snippet describing the issue, including deeper explanations and links to other resources. | |
$description | string | Required. A string explaining the issue that was detected. | |
$location | Required. A Location object representing the place in the source code where the issue was discovered. | ||
$type | string | Required. Must always be "issue". |
Method | Description | |
---|---|---|
__construct ( string $checkName, string $description, |
||
getCheckName ( ) : string | ||
getDescription ( ) : string | ||
getLocation ( ) : |
||
getType ( ) : string | ||
toArray ( ) : array |
protected string $categories | ||
return | string |
protected string $checkName | ||
return | string |
protected string $content | ||
return | string |
protected string $description | ||
return | string |
protected IssueLocation,phpsa $location | ||
return |