Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hi,
The @file doc block MUST be present for all PHP files, with one exception: files that contain a namespaced class/interface/trait, whose file name is the class name with a .php extension, and whose file path is closely related to the namespace (under PSR-4 or a similar standard), SHOULD NOT have a @file documentation block.
Check Documentaion: API documentation and comment standards
Thanks
Comment | File | Size | Author |
---|---|---|---|
#2 | redhen-remove_wrong_doc-2877014-2-8x.patch | 20.58 KB | mgoncalves |
Comments
Comment #2
mgoncalves CreditAttribution: mgoncalves at CI&T commentedComment #3
hgunicamp CreditAttribution: hgunicamp at CI&T commentedAfter applying the 'redhen-remove_wrong_doc-2877014-2-8x.patch' patch and using the command
grep --color=auto '@file' $(find . -type f -name '*.php' -exec grep namespace {} \+ | cut -f1 -d':' | uniq)
without any '@file' occurrences.
After that I reviewed visually the patch.
It's OK for me.
Comment #4
gcbThanks for your nice clean patch and dedication to proper coding standards! committed.