Documentation

TrimArraySpacesFixer extends AbstractFixer
in package

Tags
author

Jared Henderson jared@netrivet.com

Table of Contents

getDefinition()  : mixed
{@inheritdoc}
isCandidate()  : mixed
{@inheritdoc}
applyFix()  : mixed
{@inheritdoc}
fixArray()  : mixed
Method to trim leading/trailing whitespace within single line arrays.

Methods

applyFix()

{@inheritdoc}

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

fixArray()

Method to trim leading/trailing whitespace within single line arrays.

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

Search results