\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".
- Author: Greg Sherwood <gsherwood@squiz.net>
- Copyright: 2006 Squiz Pty Ltd (ABN 77 084 670 600)
- License: http://matrix.squiz.net/developer/tools/php_cs/licence BSD Licence
Synopsis
Hierarchy
Implements
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.