Documentation

PhpUnitDataProviderNameFixer extends AbstractPhpUnitFixer
in package
implements ConfigurableFixerInterface uses ConfigurableFixerTrait

FinalYes
Tags
author

Kuba Werłos werlos@gmail.com

implements

ConfigurableFixerInterface<_AutogeneratedInputConfiguration, _AutogeneratedComputedConfiguration>

phpstan-type

_AutogeneratedInputConfiguration array{ prefix?: string, suffix?: string }

phpstan-type

_AutogeneratedComputedConfiguration array{ prefix: string, suffix: string }

Table of Contents

Interfaces

ConfigurableFixerInterface

Methods

getDefinition()  : FixerDefinitionInterface
Returns the definition of the fixer.
getPriority()  : int
Returns the priority of the fixer.
isRisky()  : bool
Check if fixer is risky or not.
applyPhpUnitClassFix()  : void
createConfigurationDefinition()  : FixerConfigurationResolverInterface
getProviderNameForTestName()  : string

Methods

getPriority()

Returns the priority of the fixer.

public getPriority() : int

The default priority is 0 and higher priorities are executed first.

Return values
int

isRisky()

Check if fixer is risky or not.

public isRisky() : bool

Risky fixer could change code behavior!

Return values
bool

getProviderNameForTestName()

private getProviderNameForTestName(string $name) : string
Parameters
$name : string
Return values
string

        
On this page

Search results