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 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.
Comment | File | Size | Author |
---|---|---|---|
#5 | interdiff.txt | 5.32 KB | Manjit.Singh |
#5 | Remove-@file-tag-docblock-2751177-5.patch | 11.31 KB | Manjit.Singh |
#2 | 2751177-2.patch | 10.28 KB | rajeshwari10 |
|
Comments
Comment #2
rajeshwari10 CreditAttribution: rajeshwari10 as a volunteer and at Blisstering Solutions commentedComment #4
rajeshwari10 CreditAttribution: rajeshwari10 as a volunteer and at Blisstering Solutions commentedComment #5
Manjit.SinghCode looks good to me but i think there is some problem with the namespace path. I have done some changes in the patch file, let see what test bot thinks.
Comment #6
vbouchetComment #7
Manjit.SinghThanks a lot :)
Is there anything left ? Or we can commit this ?
Comment #8
NickDickinsonWilde(etc)
the 'src' folder shouldn't be include in the namespace - see Drupal Namespace Standards.
Comment #10
NickDickinsonWildeApplied the patch from #2, Thanks both of you for the patches.
Comment #11
NickDickinsonWildeComment #12
rajeshwari10 CreditAttribution: rajeshwari10 as a volunteer and at Valuebound commented