In reference to #788220

It seems that Coder accepts string concatenations like:
variable_get('css__'. $form['#node']->type, FALSE);

While, according to http://drupal.org/node/318#concat , the correct syntax would be:
variable_get('css__' . $form['#node']->type, FALSE);
note the spaces before and after the dot

Thanks for your time,

Fabio Varesano

Comments

solotandem’s picture

The 6.x version of Coder checks for the coding standards in effect for Drupal 6. Although not reflected in the page you refer to, the standard in effect during D6 development specified no space before the concatenation operator.

fax8’s picture

Status: Active » Closed (works as designed)

Ok, thanks for clarifying ... For those interesting in the details see http://drupal.org/node/246568

Please note that in D7 the only accepted rule will be A . B

Thanks,

Fabio Varesano