PhpdocLineSpanFixer
extends AbstractFixer
in package
implements
WhitespacesAwareFixerInterface, ConfigurationDefinitionFixerInterface
Tags
Interfaces, Classes and Traits
Table of Contents
- getDefinition() : mixed
- {@inheritdoc}
- getPriority() : mixed
- {@inheritdoc}
- isCandidate() : mixed
- {@inheritdoc}
- applyFix() : mixed
- createConfigurationDefinition() : mixed
- {@inheritdoc}
- getDocBlockIndex() : int
- hasDocBlock() : bool
Methods
getDefinition()
{@inheritdoc}
public
getDefinition() : mixed
Return values
mixed —getPriority()
{@inheritdoc}
public
getPriority() : mixed
Must run before PhpdocAlignFixer. Must run after AlignMultilineCommentFixer, CommentToPhpdocFixer, GeneralPhpdocAnnotationRemoveFixer, PhpdocIndentFixer, PhpdocScalarFixer, PhpdocToCommentFixer, PhpdocTypesFixer.
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 —getDocBlockIndex()
private
getDocBlockIndex(Tokens $tokens, int $index) : int
Parameters
- $tokens : Tokens
- $index : int
Return values
int —hasDocBlock()
private
hasDocBlock(Tokens $tokens, int $index) : bool
Parameters
- $tokens : Tokens
- $index : int