Documentation

CombineConsecutiveIssetsFixer extends AbstractFixer
in package

FinalYes

Table of Contents

Methods

getDefinition()  : FixerDefinitionInterface
getPriority()  : int
{@inheritdoc}
isCandidate()  : bool
applyFix()  : void
clearTokens()  : void
getIssetInfo()  : array<int, int>
getTokenClones()  : array<int, Token>

Methods

getPriority()

{@inheritdoc}

public getPriority() : int

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

Return values
int

getIssetInfo()

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

of T_ISSET

Return values
array<int, int>

indices of meaningful tokens belonging to the isset statement


        
On this page

Search results