Skip to content

[Bug] AbstractApiSniff throws an error when there is no PHPDoc block in the class #109

Closed
@lenaorobei

Description

@lenaorobei

Steps to reproduce

Run Magento 2 coding standard and AbstractApiSniff against the abstract class with missing Doc block.

Expected result

Sniff detects nothing

Actual result

An error occurred during processing; checking has been aborted. The error message was: Undefined index: comment_closer in ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedNew rule is acceptedbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions