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
Afficher le fichier Open project: yiisoft/yii2-coding-standards

Méthodes publiques

Méthode Description
process ( PHP_CodeSniffer_File $file, $pointer )
register ( )

Method Details

process() public méthode

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

register() public méthode

public register ( )