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.

Comments

Vinay15 created an issue. See original summary.

vinay15’s picture

Assigned: vinay15 » Unassigned
Status: Active » Needs review
StatusFileSize
new1.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

StatusFileSize
new1.53 KB

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
StatusFileSize
new24.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.

andrtroe’s picture

Assigned: Unassigned » andrtroe
andrtroe’s picture

Assigned: andrtroe » Unassigned
Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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