Documentation

CombineConsecutiveIssetsFixer extends AbstractFixer
in package

Tags
author

SpacePossum

Table of Contents

getDefinition()  : mixed
{@inheritdoc}
getPriority()  : mixed
{@inheritdoc}
isCandidate()  : mixed
{@inheritdoc}
applyFix()  : mixed
{@inheritdoc}
clearTokens()  : mixed
getIssetInfo()  : array<string|int, int>
getTokenClones()  : array<string|int, Token>

Methods

getPriority()

{@inheritdoc}

public getPriority() : mixed

Must run before MultilineWhitespaceBeforeSemicolonsFixer, NoSinglelineWhitespaceBeforeSemicolonsFixer, NoSpacesInsideParenthesisFixer, NoTrailingWhitespaceFixer, NoWhitespaceInBlankLineFixer.

Return values
mixed

getIssetInfo()

private getIssetInfo(Tokens $tokens, int $index) : array<string|int, int>
Parameters
$tokens : Tokens
$index : int

of T_ISSET

Return values
array<string|int, int>

indexes of meaningful tokens belonging to the isset statement

Search results