BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
PHP_CodeSniffer\Standards\PSR2\Sniffs\Methods\FunctionCallSignatureSniff Class Reference
Inheritance diagram for PHP_CodeSniffer\Standards\PSR2\Sniffs\Methods\FunctionCallSignatureSniff:
Collaboration diagram for PHP_CodeSniffer\Standards\PSR2\Sniffs\Methods\FunctionCallSignatureSniff:

Public Member Functions

 isMultiLineCall (File $phpcsFile, $stackPtr, $openBracket, $tokens)
 
- Public Member Functions inherited from PHP_CodeSniffer\Standards\PEAR\Sniffs\Functions\FunctionCallSignatureSniff
 register ()
 
 process (File $phpcsFile, $stackPtr)
 
 isMultiLineCall (File $phpcsFile, $stackPtr, $openBracket, $tokens)
 
 processSingleLineCall (File $phpcsFile, $stackPtr, $openBracket, $tokens)
 
 processMultiLineCall (File $phpcsFile, $stackPtr, $openBracket, $tokens)
 

Public Attributes

 $allowMultipleArguments = false
 
- Public Attributes inherited from PHP_CodeSniffer\Standards\PEAR\Sniffs\Functions\FunctionCallSignatureSniff
 $supportedTokenizers
 
 $indent = 4
 
 $allowMultipleArguments = true
 
 $requiredSpacesAfterOpen = 0
 
 $requiredSpacesBeforeClose = 0
 

Member Function Documentation

PHP_CodeSniffer\Standards\PSR2\Sniffs\Methods\FunctionCallSignatureSniff::isMultiLineCall ( File  $phpcsFile,
  $stackPtr,
  $openBracket,
  $tokens 
)

Processes single-line calls.

Parameters
\PHP_CodeSniffer\Files\File$phpcsFileThe file being scanned.
int$stackPtrThe position of the current token in the stack passed in $tokens.
int$openBracketThe position of the opening bracket in the stack passed in $tokens.
array$tokensThe stack of tokens that make up the file.
Returns
void

The documentation for this class was generated from the following file: