Documentation

PhpUnitExpectationFixer extends AbstractPhpUnitFixer
in package
implements ConfigurationDefinitionFixerInterface, WhitespacesAwareFixerInterface

Tags
author

Dariusz RumiƄski dariusz.ruminski@gmail.com

Interfaces, Classes and Traits

ConfigurationDefinitionFixerInterface
WhitespacesAwareFixerInterface

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

Methods

configure()

{@inheritdoc}

public configure([array<string|int, mixed> $configuration = null ]) : mixed
Parameters
$configuration : array<string|int, mixed> = null
Return values
mixed

getPriority()

{@inheritdoc}

public getPriority() : mixed

Must run after PhpUnitNoExpectationAnnotationFixer.

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
Return values
mixed

Search results