PHP Class ObjectCalisthenics\AbstractDataStructureLengthSniff

This sniff is the base for class, interface, trait, function and method length checks as part of "Keep your classes small" object calisthenics rule.
ファイルを表示 Open project: object-calisthenics/phpcs-calisthenics-rules

Protected Properties

Property Type Description
$maxLength integer Maximum data structure length.

Public Methods

Method Description
process ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr )

Method Details

process() public method

public process ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr )
$phpcsFile PHP_CodeSniffer_File
$stackPtr integer

Property Details

$maxLength protected_oe property

Maximum data structure length.
protected int $maxLength
return integer