Class: Squiz_Sniffs_ControlStructures_ElseIfDeclarationSniff
Source Location: /PHP_CodeSniffer-0.8.0/CodeSniffer/Standards/Squiz/Sniffs/ControlStructures/ElseIfDeclarationSniff.php
Squiz_Sniffs_ControlStructures_ElseIfDeclarationSniff.
Author(s):
Version:
Copyright:
- 2006 Squiz Pty Ltd (ABN 77 084 670 600)
Inherited Variables
Inherited Methods
Class Details
[line 32]
Squiz_Sniffs_ControlStructures_ElseIfDeclarationSniff.
Verifies that there are not elseif statements. The else and the if should be separated by a space.
Method Detail
process [line 57]
Processes this test, when one of its tokens is encountered.
Parameters:
int
$stackPtr
—
The position of the current token in the stack passed in $tokens.
register [line 41]
Returns an array of tokens this test wants to listen for.
Documentation generated on 2019年3月11日 14:44:46 -0400 by
phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.