PHP Class Yii2_Sniffs_Files_SpacesAroundConcatSniff

This Sniff check if a whitespace is missing before or after any concatenation operator. The concatenation operator is identified by the PHP token T_STRING_CONCAT The whitespace is identified by the PHP token T_WHITESPACE
Since: 2.0.2
Inheritance: implements PHP_CodeSniffer_Sniff
Show file Open project: yiisoft/yii2-coding-standards

Public Methods

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

Method Details

process() public method

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

register() public method

public register ( )