프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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". |
메소드 | 설명 | |
---|---|---|
__construct ( string $checkName, string $description, |
||
getCheckName ( ) : string | ||
getDescription ( ) : string | ||
getLocation ( ) : |
||
getType ( ) : string | ||
toArray ( ) : array |
protected string $categories | ||
리턴 | string |
protected string $checkName | ||
리턴 | string |
protected string $content | ||
리턴 | string |
protected string $description | ||
리턴 | string |
protected IssueLocation,phpsa $location | ||
리턴 |