Tag reference
@noinspection
The @noinspection tag suppresses one or more named IDE inspections for
the element that follows it, so PhpStorm stops flagging a specific,
intentional pattern in that spot.
Grammar
"@noinspection" <Name> [ <Description> ]Examples
/** @noinspection PhpUnusedLocalVariableInspection */$unused = compute();Names by platform
- phpstorm
@noinspection
Parsing a @noinspection tag produces a NoinspectionTag instance, carrying the
parsed $identifier alongside the $name and optional $description
every Tag already provides.
final class NoinspectionTag extends IdentifierTag {}Defined by PhpStorm.