Skip to content

Generic.Commenting.DocComment not finding errors when long description is omitted #852

Closed
@bkdotcom

Description

@bkdotcom

I'm just coming from v1.5.5 (i know, I know...)

In 1.5.5 there was a sniff to enforce a space between descriptions and params/return/tags

Squiz.Commenting.FunctionComment.SpacingBeforeTags

Somewhere between 1.5.5 and 2.5.0 any such sniff has been removed and the following is allowed:

/**
 * I'm a function short-description
 * @return boolean
 */

(There's no longer a sniff to enforce a blank line before @return)

Did the Squiz standard intentionally change? (I don't see any mention in changelog)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions