Documentation

ArraySyntaxFixer extends AbstractFixer
in package
implements ConfigurationDefinitionFixerInterface

Tags
author

Gregor Harlan gharlan@web.de

author

Sebastiaan Stok s.stok@rollerscapes.net

author

Dariusz RumiƄski dariusz.ruminski@gmail.com

author

SpacePossum

Interfaces, Classes and Traits

ConfigurationDefinitionFixerInterface

Table of Contents

$candidateTokenKind  : mixed
$fixCallback  : mixed
configure()  : mixed
{@inheritdoc}
getDefinition()  : mixed
{@inheritdoc}
getPriority()  : mixed
{@inheritdoc}
isCandidate()  : mixed
{@inheritdoc}
applyFix()  : mixed
{@inheritdoc}
createConfigurationDefinition()  : mixed
{@inheritdoc}
fixToLongArraySyntax()  : mixed
fixToShortArraySyntax()  : mixed
resolveCandidateTokenKind()  : mixed
resolveFixCallback()  : mixed

Properties

Methods

configure()

{@inheritdoc}

public configure([array<string|int, mixed> $configuration = null ]) : mixed
Parameters
$configuration : array<string|int, mixed> = null
Return values
mixed

getDefinition()

{@inheritdoc}

public getDefinition() : mixed
Return values
mixed

getPriority()

{@inheritdoc}

public getPriority() : mixed

Must run before BinaryOperatorSpacesFixer, TernaryOperatorSpacesFixer.

Return values
mixed

applyFix()

{@inheritdoc}

protected applyFix(SplFileInfo $file, Tokens $tokens) : mixed
Parameters
$file : SplFileInfo
$tokens : Tokens
Return values
mixed

createConfigurationDefinition()

{@inheritdoc}

protected createConfigurationDefinition() : mixed
Return values
mixed

fixToLongArraySyntax()

private fixToLongArraySyntax(Tokens $tokens, int $index) : mixed
Parameters
$tokens : Tokens
$index : int
Return values
mixed

fixToShortArraySyntax()

private fixToShortArraySyntax(Tokens $tokens, int $index) : mixed
Parameters
$tokens : Tokens
$index : int
Return values
mixed

resolveCandidateTokenKind()

private resolveCandidateTokenKind() : mixed
Return values
mixed

resolveFixCallback()

private resolveFixCallback() : mixed
Return values
mixed

Search results