PhpUnitSetUpTearDownVisibilityFixer
extends AbstractPhpUnitFixer
in package
Tags
Table of Contents
- getDefinition() : mixed
- {@inheritdoc}
- isRisky() : mixed
- {@inheritdoc}
- applyPhpUnitClassFix() : mixed
- {@inheritdoc}
- isSetupOrTearDownMethod() : bool
Methods
getDefinition()
{@inheritdoc}
public
getDefinition() : mixed
Return values
mixed —isRisky()
{@inheritdoc}
public
isRisky() : mixed
Return values
mixed —applyPhpUnitClassFix()
{@inheritdoc}
protected
applyPhpUnitClassFix(Tokens $tokens, mixed $startIndex, mixed $endIndex) : mixed
Parameters
- $tokens : Tokens
- $startIndex : mixed
- $endIndex : mixed
Return values
mixed —isSetupOrTearDownMethod()
private
isSetupOrTearDownMethod(Tokens $tokens, int $index) : bool
Parameters
- $tokens : Tokens
- $index : int