1 Operators
LogMANOriginal edited this page 2018-11-05 13:32:41 +01:00

Operators must have a space around them

Operators must be readable and therefore should have spaces around them.

Example

Bad

$text='Hello '.$name.'!';

Good

$text = 'Hello ' . $name . '!';

Reference: Squiz.WhiteSpace.OperatorSpacing