The inline comment sniff has an issue with this piece of code.

Which is exported by ctools/feature.

$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */

It returns an error with the MIssing space after the //.

This isn't correct.

Comments

klausi’s picture

But the code line is not correct either. 1) "//" style comments should be used on inline code, 2) a comment should be one line before the code line.

ericduran’s picture

@klausi, Yea, I'm wondering if instead we should file a bug in ctools, to fix the way the comment is render.

klausi’s picture

Version: » 7.x-1.x-dev
Status: Active » Fixed

Just ran into a similar issue, should be fixed in this commit: http://drupalcode.org/project/drupalcs.git/commit/0fafb58

ericduran’s picture

Cool.

Status: Fixed » Closed (fixed)

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