FullyQualifiedStrictTypesFixer
extends AbstractFixer
in package
Tags
Table of Contents
- getDefinition() : mixed
- {@inheritdoc}
- getPriority() : mixed
- {@inheritdoc}
- isCandidate() : mixed
- {@inheritdoc}
- applyFix() : mixed
- {@inheritdoc}
- detectAndReplaceTypeWithShortType() : mixed
- fixFunctionArguments() : mixed
- fixFunctionReturnType() : mixed
Methods
getDefinition()
{@inheritdoc}
public
getDefinition() : mixed
Return values
mixed —getPriority()
{@inheritdoc}
public
getPriority() : mixed
Must run before NoSuperfluousPhpdocTagsFixer. Must run after PhpdocToReturnTypeFixer.
Return values
mixed —isCandidate()
{@inheritdoc}
public
isCandidate(Tokens $tokens) : mixed
Parameters
- $tokens : Tokens
Return values
mixed —applyFix()
{@inheritdoc}
protected
applyFix(SplFileInfo $file, Tokens $tokens) : mixed
Parameters
- $file : SplFileInfo
- $tokens : Tokens
Return values
mixed —detectAndReplaceTypeWithShortType()
private
detectAndReplaceTypeWithShortType(Tokens $tokens, TypeAnalysis $type) : mixed
Parameters
- $tokens : Tokens
- $type : TypeAnalysis
Return values
mixed —fixFunctionArguments()
private
fixFunctionArguments(Tokens $tokens, int $index) : mixed
Parameters
- $tokens : Tokens
- $index : int
Return values
mixed —fixFunctionReturnType()
private
fixFunctionReturnType(Tokens $tokens, int $index) : mixed
Parameters
- $tokens : Tokens
- $index : int