\Joomla_Sniffs_WhiteSpace_SpaceAfterCastSniff

Ensures there is no space after cast tokens.

Example:
<b class="bad">(int) $foo;</b>
<b class="good">(int)$foo;</b>

Synopsis

class Joomla_Sniffs_WhiteSpace_SpaceAfterCastSniff 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.