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.

CommentFileSizeAuthor
#2 filebrowser_2844487_1.patch3.22 KBnehakhadke

Comments

nehakhadke created an issue. See original summary.

nehakhadke’s picture

StatusFileSize
new3.22 KB

  • clivesj committed 406b4a8 on 8.x-2.x authored by nehakhadke
    Issue #2844487 by nehakhadke: Remove @file tag and replace global t() by...
clivesj’s picture

Manually added
use StringTranslationTrait;
to the patch. Otherwise $this-t() will not be available.

clivesj’s picture

Status: Needs work » Fixed
clivesj’s picture

Status: Fixed » Closed (fixed)