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.

Comments

rajeshwari10 created an issue. See original summary.

rajeshwari10’s picture

Assigned: Unassigned » rajeshwari10
rajeshwari10’s picture

Status: Active » Needs review
StatusFileSize
new64.06 KB

Added patch

Status: Needs review » Needs work

The last submitted patch, 3: 2751221-2.patch, failed testing.

rajeshwari10’s picture

Status: Needs work » Needs review
StatusFileSize
new61.31 KB
miro_dietiker’s picture

Status: Needs review » Needs work

If we commit this cleanup, we want to do a uniform cleanup for the header.

After applying this patch, sometimes we have two, sometimes one line break prior to the first namespace line.

rajeshwari10’s picture

Status: Needs work » Needs review
StatusFileSize
new64.25 KB

Adding one line break prior to the first namespace line.

Please review.

Thanks!!

berdir’s picture

Status: Needs review » Fixed

Thanks, committed.

  • Berdir committed a6c2fb6 on 8.x-1.x authored by rajeshwari10
    Issue #2751221 by rajeshwari10: Remove @file tag docblock from all the ....

Status: Fixed » Closed (fixed)

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