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 |
---|---|---|---|
#3 | bmi_file_docblock_results.png | 55.02 KB | dhruveshdtripathi |
#2 | 2876844-2.patch | 1.03 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 necessary @file docblocks removed from .php files. As you can see in the attached screenshot, earlier there were 4 @file docblocks and after applying the patch there is only 1 @file docblock and that too from .module file.
Good work!