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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Ashish.Dalvi created an issue. See original summary.

ashishdalvi’s picture

Status: Needs work » Needs review
FileSize
348 bytes

Added a patch.

ashishdalvi’s picture

pankajsachdeva’s picture

Issue summary: View changes
FileSize
6.32 KB

Hi Ashish,

I have manually reviewed your patch and also applied it successfully. Patch is looking good.

NICE WORK!!!

pankajsachdeva’s picture

Assigned: ashishdalvi » Unassigned
Status: Needs review » Reviewed & tested by the community

sandipauti’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.