function AbstractArraySniff::processMultiLineArray
Processes a multi-line array definition.
Parameters
\PHP_CodeSniffer\Files\File $phpcsFile The current file being checked.:
int $stackPtr The position of the current token: in the stack passed in $tokens.
int $arrayStart The token that starts the array definition.:
int $arrayEnd The token that ends the array definition.:
array $indices An array of token positions for the array keys,: double arrows, and values.
Return value
void
1 call to AbstractArraySniff::processMultiLineArray()
- AbstractArraySniff::process in vendor/
squizlabs/ php_codesniffer/ src/ Sniffs/ AbstractArraySniff.php - Processes this sniff, when one of its tokens is encountered.
1 method overrides AbstractArraySniff::processMultiLineArray()
- ArrayIndentSniff::processMultiLineArray in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Generic/ Sniffs/ Arrays/ ArrayIndentSniff.php - Processes a multi-line array definition.
File
-
vendor/
squizlabs/ php_codesniffer/ src/ Sniffs/ AbstractArraySniff.php, line 169
Class
Namespace
PHP_CodeSniffer\SniffsCode
protected abstract function processMultiLineArray($phpcsFile, $stackPtr, $arrayStart, $arrayEnd, $indices);