\Joomla_Sniffs_ControlStructures_ElseIfDeclarationSniff

Squiz_Sniffs_ControlStructures_ElseIfDeclarationSniff.

Verifies that there are no "else if" statements. The else and the if should
be a single word "elseif".

Synopsis

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