False internationalization positive for extra leading/trailing spaces
Posted September 21st, 2008 by douggreen
in
6.x-1.x-dev, Review/Rules, bug report, normal, closed
Hi,
A false positive is generated for lines like:
'titleUser' => t('Your rating') .': ',
The error given is "The $string argument to t() should not begin or end with a space.".
The t() string doesn't contain a space, but the string to which it is concatenated to, does. Issue found in code review of fivestar.module, lines 1420 and 1421.