PHP Class Yii2_Sniffs_Properties_PrivatePropertiesUnderscoreSniff

This Sniff check if a underscore is missing before private property name. The private property name is identified by the PHP token T_VARIABLE The private visibility is identified by the PHP token T_PRIVATE
Inheritance: implements PHP_CodeSniffer_Sniff
Show file Open project: yiisoft/yii2-coding-standards

Public Methods

Method Description
process ( PHP_CodeSniffer_File $file, $pointer )
register ( )

Method Details

process() public method

public process ( PHP_CodeSniffer_File $file, $pointer )
$file PHP_CodeSniffer_File

register() public method

public register ( )