PHP Class ObjectCalisthenics\Sniffs\Classes\PropertyVisibilitySniff

{@internal Barbara Liskov feels sick every time she looks at this class code.}
Author: Guilherme Blanco ([email protected])
Inheritance: extends PHP_CodeSniffer_Standards_AbstractVariableSnif\PHP_CodeSniffer_Standards_AbstractVariableSniff, implements PHP_CodeSniffer_Snif\PHP_CodeSniffer_Sniff
Show file Open project: object-calisthenics/phpcs-calisthenics-rules

Protected Methods

Method Description
processMemberVar ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr )
processVariable ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr )
processVariableInString ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr )

Private Methods

Method Description
handleMultiPropertyDeclaration ( )
handlePublicProperty ( integer $modifier )
handleVisibilityDeclaration ( integer $modifier )

Method Details

processMemberVar() protected method

protected processMemberVar ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr )
$phpcsFile PHP_CodeSniffer_File
$stackPtr integer

processVariable() protected method

protected processVariable ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr )
$phpcsFile PHP_CodeSniffer_File
$stackPtr integer

processVariableInString() protected method

protected processVariableInString ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr )
$phpcsFile PHP_CodeSniffer_File
$stackPtr integer