PHP Class SlevomatCodingStandard\Sniffs\ControlStructures\AssignmentInConditionSniff

Inheritance: implements PHP_CodeSniffer_Sniff
Datei anzeigen Open project: slevomat/coding-standard

Public Methods

Method Description
process ( PHP_CodeSniffer_File $phpcsFile, integer $conditionStartPointer )
register ( ) : integer[]

Private Methods

Method Description
processCondition ( PHP_CodeSniffer_File $phpcsFile, integer $parenthesisOpener, integer $parenthesisCloser, string $conditionType )

Method Details

process() public method

public process ( PHP_CodeSniffer_File $phpcsFile, integer $conditionStartPointer )
$phpcsFile PHP_CodeSniffer_File
$conditionStartPointer integer

register() public method

public register ( ) : integer[]
return integer[]