PHP Class SmileElasticsuite_Sniffs_Methods_MethodDeclarationSniff, elasticsuite

Author: Aurelien FOUCRET ([email protected])
Inheritance: extends PHP_CodeSniffer_Standards_AbstractScopeSniff
显示文件 Open project: smile-sa/elasticsuite

Public Methods

Method Description
__construct ( ) Constructs a Squiz_Sniffs_Scope_MethodScopeSniff.

Protected Methods

Method Description
processTokenWithinScope ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr, integer $currScope ) : void Processes the function tokens within the class.

Method Details

__construct() public method

Constructs a Squiz_Sniffs_Scope_MethodScopeSniff.
public __construct ( )

processTokenWithinScope() protected method

Processes the function tokens within the class.
protected processTokenWithinScope ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr, integer $currScope ) : void
$phpcsFile PHP_CodeSniffer_File The file where this token was found.
$stackPtr integer The position where the token was found.
$currScope integer The current scope opener token.
return void