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.
According to revised coding standards of PSR-4-compliant @file doc block has no use anymore.
The only @file doc blocks to remove would be for files under (modulename)/src -- the PSR-4-compliant class/interface files.
Comment | File | Size | Author |
---|---|---|---|
#2 | removing-doccomment-2747109-2.patch | 4.3 KB | harsh.behl |
Comments
Comment #2
harsh.behl CreditAttribution: harsh.behl at TO THE NEW commentedI have created a patch for removing multiple annotations and @file docblock commenting.
Comment #3
harsh.behl CreditAttribution: harsh.behl at TO THE NEW commentedComment #4
anish.a CreditAttribution: anish.a at Zyxware Technologies commentedAs per as https://www.drupal.org/coding-standards/docs#file (Last paragraph).
Tested this on 8.x branch and working fine.
Comment #6
guschilds CreditAttribution: guschilds at Chromatic commentedThanks. The patch from #2 has been committed.