PHP Class ObjectCalisthenics\Sniffs\NamingConventions\FunctionLengthSniff

Author: Guilherme Blanco ([email protected])
Inheritance: extends ObjectCalisthenics\AbstractIdentifierLengthSniff, implements PHP_CodeSniffer_Snif\PHP_CodeSniffer_Sniff
ファイルを表示 Open project: object-calisthenics/phpcs-calisthenics-rules

Protected Properties

Property Type Description
$tokenString string
$tokenTypeLengthFactor integer

Protected Methods

Method Description
isValid ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : boolean

Method Details

isValid() protected method

protected isValid ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : boolean
$phpcsFile PHP_CodeSniffer_File
$stackPtr integer
return boolean

Property Details

$tokenString protected_oe property

protected string $tokenString
return string

$tokenTypeLengthFactor protected_oe property

protected int $tokenTypeLengthFactor
return integer