Pattern: Malformed inline doc comment declaration
Issue: -
Reports invalid inline phpDocs with @var
.
Rule provides the following settings:
allowDocCommentAboveReturn
: Allows documentation comments without variable name abovereturn
statement.allowAboveNonAssignment
: Allows documentation comments above non-assignment if the line contains the right variable name.