\Joomla_Sniffs_WhiteSpace_OperatorSpacingSniff

Verifies that operators have valid spacing surrounding them.

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

Synopsis

class Joomla_Sniffs_WhiteSpace_OperatorSpacingSniff implements PHP_CodeSniffer_Sniff {
}

Hierarchy

Members

public

  • $supportedTokenizers — array
    A list of tokenizers this sniff supports.

Methods

public

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