Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
lenaorobei opened this issue Jun 5, 2019 · 1 comment
Labels
accepted New rule is accepted bug Something isn't working

Comments

@lenaorobei
Copy link
Contributor

lenaorobei commented Jun 5, 2019

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 ...

@lenaorobei lenaorobei added bug Something isn't working accepted New rule is accepted labels Jun 5, 2019
@lenaorobei lenaorobei changed the title [Bug] AbstractApiSniff throws an error when there is no PHPDoc block in the class [Bug] ForeachArrayMergeSniff throws an error Jun 5, 2019
@lenaorobei lenaorobei changed the title [Bug] ForeachArrayMergeSniff throws an error [Bug] AbstractApiSniff throws an error when there is no PHPDoc block in the class Jun 5, 2019
@lenaorobei
Copy link
Contributor Author

Fixed in #86

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted New rule is accepted bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant