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.
The @file doc block MUST be present for all PHP files, with one exception: files that contain a namespaced class/interface/trait, whose file name is the class name with a .php extension, and whose file path is closely related to the namespace (under PSR-4 or a similar standard), SHOULD NOT have a @file documentation block.
Comment | File | Size | Author |
---|---|---|---|
#2 | security_review-2785393-2.patch | 10.64 KB | Nitesh Pawar |
Comments
Comment #2
Nitesh Pawar CreditAttribution: Nitesh Pawar at Trigyn Technologies Ltd commentedComment #3
tlyngej CreditAttribution: tlyngej at Annertech commentedReviewed the patch, applied it and ran all of the checks.
Everything seems fine. RTBC.
Comment #5
banviktor CreditAttribution: banviktor at CARD.com commentedThank you Nitesh!