Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Change for hook comment formatting was discussed in #2623718: Fix 'Drupal.Commenting.HookComment' coding standard to allow text other than a filename or function to be specified after ”for”.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2821834-2-hookcomment_formatting_change.patch | 1.65 KB | ZeiP |
Comments
Comment #2
ZeiP CreditAttribution: ZeiP as a volunteer and at Citrus Solutions Oy commentedAttached is a patch to do this.
Comment #3
klausiMakes sense, can you add an example to good.php and file a pull request against https://github.com/klausi/coder ?
Comment #4
ZeiP CreditAttribution: ZeiP as a volunteer and at Citrus Solutions Oy commentedSure, I'll get on that.
Comment #5
ZeiP CreditAttribution: ZeiP as a volunteer and at Citrus Solutions Oy commentedThe pull request is at https://github.com/klausi/coder/pull/16 .
Comment #6
klausiAlmost ready, left a minor comment on the PR.
Comment #8
klausiMerged after the update, thanks!