\Joomla_Sniffs_WhiteSpace_ConcatenationSpacingSniff

Makes sure there are is a spaces between the concatenation operator <b>.</b> and the strings being concatenated.

Example:
<b class="bad">$a = $b.$c;</b>
<b class="good">$a = $b . $c;</b>

Synopsis

class Joomla_Sniffs_WhiteSpace_ConcatenationSpacingSniff implements PHP_CodeSniffer_Sniff {
}

Hierarchy

Methods

public

  • process() — Processes this test, when one of its tokens is encountered.
  • register() — Returns an array of tokens this test wants to listen for.