PHP Class ObjectCalisthenics\Sniffs\NamingConventions\FunctionLengthSniff

Author: Guilherme Blanco ([email protected])
Inheritance: extends ObjectCalisthenics\AbstractIdentifierLengthSniff, implements PHP_CodeSniffer_Snif\PHP_CodeSniffer_Sniff
Show file 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 property

protected string $tokenString
return string

$tokenTypeLengthFactor protected property

protected int $tokenTypeLengthFactor
return integer