Skip to content

"Commenting.InlineComment" sniff restriction on end char validation #505

@aik099

Description

@aik099

In the "Commenting.InlineComment" sniffs (in various standards) the start char is validated to be an uppercase letter only, when it's lowercase letter.

I propose that we only validate end char to be dot, exclamation mark, etc., when first char is uppercase letter. This way commented code like below won't cause any trouble:

// $this->is->commentedCode();

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