\Joomla_Sniffs_WhiteSpace_SemicolonSpacingSniff

Ensure there is no whitespace before a semicolon <b>;</b>.

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

Synopsis

class Joomla_Sniffs_WhiteSpace_SemicolonSpacingSniff implements PHP_CodeSniffer_Sniff {
}

Hierarchy

Members

public

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

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.