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.

CommentFileSizeAuthor
#2 removed-file-docblock-2766749.patch4.95 KBaks22
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

aks22 created an issue. See original summary.

aks22’s picture

Please find attached patch file.

aks22’s picture

Status: Active » Needs review

  • FluxSauce committed 712d4b0 on 8.x-3.x authored by aks22
    Issue #2766749 by aks22: Remove @file tag docblock from files that...
FluxSauce’s picture

Status: Needs review » Closed (fixed)

Good catch! Not sure when that exception was created and I don't recall coder flagging when I last worked on it, but I've confirmed that's the standard, patched and given credit. Thank you!