Closed (duplicate)
Project:
Coder
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Jul 2009 at 13:17 UTC
Updated:
3 Jul 2009 at 13:26 UTC
If you concatenate strings like
$string = 'Foo' . $bar;
coder complains about to many spaces:
Line 2: string concatenation should be formatted without a space separating the operators (dot .) and a quote
$string = 'Foo' . $bar;
But according to coding-standards spaces are required at this point:
"Always use a space between the dot and the concatenated parts to improve readability."
$string = 'Foo' . $bar;
$string = $bar . 'foo';
$string = bar() . 'foo';
$string = 'foo' . 'bar';
Comments
Comment #1
stella commentedDuplicate of #246568: Coding standards of string concatenation have changed