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.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

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
19.27 KB

Removed @file docs.

Status: Needs review » Needs work

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

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

urvashi_vora’s picture

Assigned: Unassigned » urvashi_vora

Hi,

I will work on this.

urvashi_vora’s picture

I will apply a patch shortly.

urvashi_vora’s picture

Assigned: urvashi_vora » Unassigned
Status: Needs work » Needs review
FileSize
673 bytes

Hi,

Please review this patch.

Thanks

urvashi_vora’s picture

Sorry, mistakenly applied the patch in a different branch.

Please review this patch.

JatinGupta40’s picture

Assigned: Unassigned » JatinGupta40

I will reviw this patch.

JatinGupta40’s picture

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

The patch #8 is applied cleanly, and it removes all the @file tags from all the .php files.
Moving to RTBC
Thanks

Berdir’s picture

Status: Reviewed & tested by the community » Closed (works as designed)

The point is to remove @file from class files, not php files. This is not a class. api.php files are supposed to have this.