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.
Afficher le fichier Open project: object-calisthenics/phpcs-calisthenics-rules

Protected Properties

Свойство Type Description
$maxLength integer Maximum data structure length.

Méthodes publiques

Méthode Description
process ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr )

Method Details

process() public méthode

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
Résultat integer