PhpUnitNoExpectationAnnotationFixer
extends AbstractPhpUnitFixer
in package
implements
ConfigurationDefinitionFixerInterface, WhitespacesAwareFixerInterface
Tags
Interfaces, Classes and Traits
Table of Contents
- $fixMessageRegExp : bool
- configure() : mixed
- {@inheritdoc}
- getDefinition() : mixed
- {@inheritdoc}
- getPriority() : mixed
- {@inheritdoc}
- isRisky() : mixed
- {@inheritdoc}
- applyPhpUnitClassFix() : mixed
- {@inheritdoc}
- createConfigurationDefinition() : mixed
- {@inheritdoc}
- annotationsToParamList() : mixed
- extractContentFromAnnotation() : string
Properties
$fixMessageRegExp
private
bool
$fixMessageRegExp
Methods
configure()
{@inheritdoc}
public
configure([array<string|int, mixed> $configuration = null ]) : mixed
Parameters
- $configuration : array<string|int, mixed> = null
Return values
mixed —getDefinition()
{@inheritdoc}
public
getDefinition() : mixed
Return values
mixed —getPriority()
{@inheritdoc}
public
getPriority() : mixed
Must run before NoEmptyPhpdocFixer, PhpUnitExpectationFixer.
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 —createConfigurationDefinition()
{@inheritdoc}
protected
createConfigurationDefinition() : mixed
Return values
mixed —annotationsToParamList()
private
annotationsToParamList(array<string|int, mixed> $annotations) : mixed
Parameters
- $annotations : array<string|int, mixed>
Return values
mixed —extractContentFromAnnotation()
private
extractContentFromAnnotation(Annotation $annotation) : string
Parameters
- $annotation : Annotation