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.
As per coding standard documentation at https://www.drupal.org/coding-standards/docs#file, the @file docblock should not be there in the files that contain a namespaced class/interface/trait, whose file name is the class name with a .php extension.
Comment | File | Size | Author |
---|---|---|---|
#3 | file_table_formatter_file_docblock_search_results.png | 65.75 KB | dhruveshdtripathi |
#2 | 2875078-2.patch | 1.55 KB | Pavan B S |
Comments
Comment #2
Pavan B S CreditAttribution: Pavan B S at Valuebound commentedApplying the patch, please review.
Comment #3
dhruveshdtripathi CreditAttribution: dhruveshdtripathi at DevsAdda commentedPatch applied cleanly. All the @file docblocks removed from .php files. Checked it manually. As you can see in the attached png file, earlier there were 5 @file docblocks, after applying patch there is 1. That 1 @file docblock is from .module file.
Good work!
Comment #4
dhruveshdtripathi CreditAttribution: dhruveshdtripathi at DevsAdda commentedComment #6
zengenuity CreditAttribution: zengenuity at Zengenuity commentedCommitted. Thanks.