In features.exsport.inc where the default code for the .module file is generated, the include_once is with parenthesis. But include_once dont require the parenthesis since it's a statement not a function.

So i have created a little patch, which changes this.

Comments

ramlev’s picture

Heres the patch

hefox’s picture

Category: bug » feature
Priority: Normal » Minor

While it looks like core is standard around include_once, it doesn't suggest one is better than other, so what's the bug about this? http://drupal.org/coding-standards#includes

I have no big opinions on this, other than wanting it's issue category correct, and that changing how it looks may complicate the patches around the bugs of it being missing sometimes.

hefox’s picture

Status: Active » Closed (duplicate)

Looks like a reason commit changed this