Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2758461-2.patch | 358 bytes | Vinay15 |
Comments
Comment #2
Vinay15Removed @file docblock.
Comment #3
Vinay15Comment #5
rphair CreditAttribution: rphair at COSD commentedthanks @Vinay15 - version 8.x-1.0-beta1 has this & a number of fixed docblocks. I cleaned all this stuff out of the pending beta version during the Friday code sprint at DrupalCon Dublin. It now passes code sniffer and automated review on pareview.sh (except for a VERSION tag in the info.yml file which will be cleaned up in the next release).