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 |
---|---|---|---|
#4 | customfilter_file_docblock_search_results.png | 113.27 KB | dhruveshdtripathi |
#3 | interdiff.txt | 277 bytes | Pavan B S |
#3 | remove@file_2845172_3.patch | 3.62 KB | Pavan B S |
#2 | remove@file_2845172_1.patch | 3.27 KB | nehakhadke |
Comments
Comment #2
nehakhadke CreditAttribution: nehakhadke at Invezza Technologies commentedComment #3
Pavan B S CreditAttribution: Pavan B S at Valuebound commented@nehakhadke, thanks for the patch, i checked the patch manually , i found one more instance of @file
Comment #4
dhruveshdtripathi CreditAttribution: dhruveshdtripathi at DevsAdda commentedPatch applied cleanly. All the @file docblocks removed from .php file. As you can see in the attached screenshot, there is 1 @file docblock left. That is from .module file, so that won't be removed.
Thank you.
Comment #6
yukare CreditAttribution: yukare commentedCommited to git, thanks.