Documentation

StandardizeIncrementFixer extends AbstractIncrementOperatorFixer
in package

Tags
author

ntzm

Table of Contents

getDefinition()  : mixed
{@inheritdoc}
getPriority()  : mixed
{@inheritdoc}
isCandidate()  : mixed
{@inheritdoc}
applyFix()  : mixed
{@inheritdoc}
findStart()  : int
clearRangeLeaveComments()  : mixed
Clear tokens in the given range unless they are comments.

Methods

getPriority()

{@inheritdoc}

public getPriority() : mixed

Must run before IncrementStyleFixer.

Return values
mixed

clearRangeLeaveComments()

Clear tokens in the given range unless they are comments.

private clearRangeLeaveComments(Tokens $tokens, int $indexStart, int $indexEnd) : mixed
Parameters
$tokens : Tokens
$indexStart : int
$indexEnd : int
Return values
mixed

Search results