The Drupal.Commenting.FunctionComment.ReturnCommentIndentation error is currently not fixable. I think this should be fixable.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

anoopjohn created an issue. See original summary.

anoopjohn’s picture

Status: Active » Needs review
FileSize
1.54 KB

Please find attached a patch that attempts to make this error fixable. Please review and let me know if this is alright.

klausi’s picture

Status: Needs review » Needs work

Looks good, can you also add a test in FunctionCommentUnitTest.inc, so that we cover it there also?

anoopjohn’s picture

Please find attached a patch that includes the tests.

anoopjohn’s picture

Status: Needs work » Needs review

  • klausi committed 1f8b131 on 8.x-2.x authored by anoopjohn
    Issue #2721917 by anoopjohn, klausi: Implemented fixer for @return...
klausi’s picture

Status: Needs review » Fixed

Thanks, added a couple more test cases and committed it.

anoopjohn’s picture

Great. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.