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 tag 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 |
---|---|---|---|
#8 | removed-file-tag-2756913-8.patch | 338 bytes | urvashi_vora |
#7 | file-tag-removed-2756913-7.patch | 673 bytes | urvashi_vora |
#2 | 2756913-2.patch | 19.27 KB | Vinay15 |
Issue fork file_entity-2756913
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
Vinay15Removed @file docs.
Comment #5
urvashi_vora CreditAttribution: urvashi_vora at Valuebound for Valuebound commentedHi,
I will work on this.
Comment #6
urvashi_vora CreditAttribution: urvashi_vora at Valuebound for Valuebound commentedI will apply a patch shortly.
Comment #7
urvashi_vora CreditAttribution: urvashi_vora at Valuebound for Valuebound commentedHi,
Please review this patch.
Thanks
Comment #8
urvashi_vora CreditAttribution: urvashi_vora at Valuebound for Valuebound commentedSorry, mistakenly applied the patch in a different branch.
Please review this patch.
Comment #9
JatinGupta40 CreditAttribution: JatinGupta40 as a volunteer and at QED42 for Drupal India Association commentedI will reviw this patch.
Comment #10
JatinGupta40 CreditAttribution: JatinGupta40 as a volunteer and at QED42 for Drupal India Association commentedThe patch #8 is applied cleanly, and it removes all the @file tags from all the .php files.
Moving to RTBC
Thanks
Comment #11
BerdirThe point is to remove @file from class files, not php files. This is not a class. api.php files are supposed to have this.