It should be:

/**
 * Implementation of hook_foo().
 */

Not (no period):

/**
 * Implementation of hook_foo()
 */

Not (not capitalized):

/**
 * implementation of hook_foo().
 */

Not (misspelled):

/**
 * Implemation of hook_foo().
 */

Could also be:

/**
 * Implementation of hook_foo().
 *
 * Some more comments down here. Blah blah blah.
 */
CommentFileSizeAuthor
#3 coder_212407.patch2.4 KBstella

Comments

webchick’s picture

Note, that the block should also be indented properly. :P This is theming on d.o that's causing the indent not to work.

stella’s picture

Assigned: Unassigned » stella
stella’s picture

Status: Active » Needs review
StatusFileSize
new2.4 KB

The attached patch should do the majority of the work. It basically checks for the correct formatting on the line * Implementation of hook_foo().. It can't check any of the surrounding lines. I don't know of any way to do this in the current version of the coder module.

Cheers,
Stella

stella’s picture

Status: Needs review » Fixed

Committed.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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