HeredocIndentationFixer
extends AbstractFixer
in package
implements
ConfigurationDefinitionFixerInterface, WhitespacesAwareFixerInterface
Tags
Interfaces, Classes and Traits
Table of Contents
- getDefinition() : mixed
- {@inheritdoc}
- isCandidate() : mixed
- {@inheritdoc}
- applyFix() : mixed
- createConfigurationDefinition() : mixed
- {@inheritdoc}
- fixIndentation() : mixed
- getIndentAt() : string
Methods
getDefinition()
{@inheritdoc}
public
getDefinition() : mixed
Return values
mixed —isCandidate()
{@inheritdoc}
public
isCandidate(Tokens $tokens) : mixed
Parameters
- $tokens : Tokens
Return values
mixed —applyFix()
protected
applyFix(SplFileInfo $file, Tokens $tokens) : mixed
Parameters
- $file : SplFileInfo
- $tokens : Tokens
Return values
mixed —createConfigurationDefinition()
{@inheritdoc}
protected
createConfigurationDefinition() : mixed
Return values
mixed —fixIndentation()
private
fixIndentation(Tokens $tokens, int $start, int $end) : mixed
Parameters
- $tokens : Tokens
- $start : int
- $end : int
Return values
mixed —getIndentAt()
private
getIndentAt(Tokens $tokens, int $index) : string
Parameters
- $tokens : Tokens
- $index : int