function ArrayIndentSniff::processSingleLineArray
Processes a single-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
Overrides AbstractArraySniff::processSingleLineArray
File
-
vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Generic/ Sniffs/ Arrays/ ArrayIndentSniff.php, line 39
Class
Namespace
PHP_CodeSniffer\Standards\Generic\Sniffs\ArraysCode
public function processSingleLineArray($phpcsFile, $stackPtr, $arrayStart, $arrayEnd, $indices) {
}