Documentation

NoSpacesInsideParenthesisFixer extends AbstractFixer
in package

Fixer for rules defined in PSR2 ¶4.3, ¶4.6, ¶5.

Tags
author

Marc Aubé

author

Dariusz Rumiński dariusz.ruminski@gmail.com

Table of Contents

getDefinition()  : mixed
{@inheritdoc}
getPriority()  : mixed
{@inheritdoc}
isCandidate()  : mixed
{@inheritdoc}
applyFix()  : mixed
{@inheritdoc}
removeSpaceAroundToken()  : mixed
Remove spaces from token at a given index.

Methods

getPriority()

{@inheritdoc}

public getPriority() : mixed

Must run before FunctionToConstantFixer. Must run after CombineConsecutiveIssetsFixer, CombineNestedDirnameFixer, LambdaNotUsedImportFixer, NoUselessSprintfFixer, PowToExponentiationFixer.

Return values
mixed

removeSpaceAroundToken()

Remove spaces from token at a given index.

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

Search results