Emit an issue if it is not suppressed
public emitIssue ( CodeBase $code_base, |
||
$code_base | CodeBase | The code base in which the issue was found |
$context | The context in which the issue was found | |
$issue_type | string | A name for the type of issue such as 'PhanPluginMyIssue' |
$issue_message | string | The complete issue message to emit such as 'class with fqsen \NS\Name is broken in some fashion'. |
$severity | integer | A value from the set {Issue::SEVERITY_LOW, Issue::SEVERITY_NORMAL, Issue::SEVERITY_HIGH}. |
$remediation_difficulty | integer | A guess at how hard the issue will be to fix from the set {Issue:REMEDIATION_A, Issue:REMEDIATION_B, ... Issue::REMEDIATION_F} with F being the hardest. |
$issue_type_id | integer |