Skip to content

Tag reference

@phan-suppress-next-next-line

The @phan-suppress-next-next-line tag silences the listed issue types reported two lines below the annotation.

Grammar

"@phan-suppress-next-next-line" <IssueName> [ "," <IssueName> ... ] [ <Description> ]

Examples

Silencing an issue two lines below.
/** @phan-suppress-next-next-line PhanTypeMismatchArgument */
$id = $request->get('id');
$user = $repository->find($id);

Names by platform

phan
@phan-suppress-next-next-line

Parsing a @phan-suppress-next-next-line tag produces a PhanSuppressNextNextLineTag instance, carrying the listed $issues alongside the $name and optional $description every Tag already provides.

final class PhanSuppressNextNextLineTag extends IssueListTag {}

Defined by Phan.