As per coding standard documentation at https://www.drupal.org/coding-standards/docs#file, the @file 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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Vinay15 created an issue. See original summary.

Vinay15’s picture

Assigned: Vinay15 » Unassigned
Status: Active » Needs review
FileSize
1.69 KB

Removed @file docblock.

Status: Needs review » Needs work

The last submitted patch, 2: 2758503-2.patch, failed testing.

Vinay15’s picture

Status: Needs work » Needs review
neha.gangwar’s picture

Retain the defintion only removes @file and contains

Status: Needs review » Needs work

The last submitted patch, 5: remove@file-2758503-5.patch, failed testing.

Vinay15’s picture

Status: Needs work » Needs review
Aanal.addweb’s picture

Status: Needs review » Reviewed & tested by the community
FileSize
24.74 KB

@neha.gangwar, Thanks for the patch it works well as expected. As i tested it manually by applying in module file. PFA as Result.

andrey.troeglazov’s picture

Assigned: Unassigned » andrey.troeglazov
andrey.troeglazov’s picture

Assigned: andrey.troeglazov » Unassigned
Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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