PhpUnitExpectationFixer
extends AbstractPhpUnitFixer
in package
implements
ConfigurationDefinitionFixerInterface, WhitespacesAwareFixerInterface
Tags
Interfaces, Classes and Traits
Table of Contents
- $methodMap : array<string, string>
- configure() : mixed
- {@inheritdoc}
- getDefinition() : mixed
- {@inheritdoc}
- getPriority() : mixed
- {@inheritdoc}
- isRisky() : mixed
- {@inheritdoc}
- applyPhpUnitClassFix() : mixed
- {@inheritdoc}
- createConfigurationDefinition() : mixed
- {@inheritdoc}
- applyPhpUnitClassFixWithObjectOperator() : mixed
Properties
$methodMap
private
array<string, string>
$methodMap
= []
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 after PhpUnitNoExpectationAnnotationFixer.
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 —applyPhpUnitClassFixWithObjectOperator()
private
applyPhpUnitClassFixWithObjectOperator(Tokens $tokens, int $startIndex, int $endIndex, int $objectOperator) : mixed
Parameters
- $tokens : Tokens
- $startIndex : int
- $endIndex : int
- $objectOperator : int