PHP Class PhpCsFixer\Tokenizer\Transformer\SquareBraceTransformer
Performed transformations:
- in
[1, 2, 3] into CT::T_ARRAY_SQUARE_BRACE_OPEN and CT::T_ARRAY_SQUARE_BRACE_CLOSE,
- in
[$a, $b, $c] = array(1, 2, 3) into CT::T_DESTRUCTURING_SQUARE_BRACE_OPEN and CT::T_DESTRUCTURING_SQUARE_BRACE_CLOSE.
Exibir arquivo
Open project: friendsofphp/php-cs-fixer
Public Methods
Private Methods
Method Details
getCustomTokens()
public method
getRequiredPhpVersionId()
public method
public process ( Tokens $tokens, PhpCsFixer\Tokenizer\Token $token, $index ) |
$tokens |
PhpCsFixer\Tokenizer\Tokens |
|
$token |
PhpCsFixer\Tokenizer\Token |
|