public static maybeEmitWithParameters ( CodeBase $code_base, |
||
$code_base | CodeBase | The code base within which we're operating |
$context | The context in which the node we're going to be looking at exits. | |
$issue_type | string | The type of issue to emit such as Issue::ParentlessClass |
$lineno | integer | The line number where the issue was found |
$parameters | array | |
return | void |
/** * @param string $issue_type * The type of issue to emit such as Issue::ParentlessClass * * @param int $lineno * The line number where the issue was found * * @param mixed parameters * Template parameters for the issue's error message * * @return void */ protected function emitIssue(string $issue_type, int $lineno, ...$parameters) { Issue::maybeEmitWithParameters($this->code_base, $this->context, $issue_type, $lineno, $parameters); }