Skip to content

DocComment sniff - property for TagValueIndent #2984

@PatricNox

Description

@PatricNox

Using the Generic.Commenting.DocComment sniff, it doesn't seem possible to define the desired spaces value for the check.

tag value for @param tag indented incorrectly; expected 1
spaces but found 2

Here, as you see, 1 is the implemented value whilst my desire goes after 2. Why? Laravel standards.

desired possibility

 <rule ref="Generic.Commenting.DocComment">
        <properties>
            <property name="TagValueIndent" value="2"/>
        </properties>
  </rule>

Or is there another way to do this?

Sincerely.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions