Class: Squiz_Sniffs_CodeAnalysis_EmptyStatementSniff
Source Location: /PHP_CodeSniffer-2.0.0RC2/CodeSniffer/Standards/Squiz/Sniffs/CodeAnalysis/EmptyStatementSniff.php
Inherited Variables
Inherited Methods
Class Details
[line 30]
This sniff class detects empty statement.
Class Variables
$checkedTokens = array(
T_DO => true,
T_ELSE => true,
T_ELSEIF => true,
T_FOR => true,
T_FOREACH => true,
T_IF => true,
T_SWITCH => true,
T_WHILE => true,
)
[line 41]
List of block tokens that this sniff covers.
The key of this hash identifies the required token while the boolean value says mark an error or mark a warning.
Type:
array
Overrides:
Array
Documentation generated on 2019年3月11日 15:58:48 -0400 by
phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.