PhpUnitInternalClassFixer
extends AbstractPhpUnitFixer
in package
implements
WhitespacesAwareFixerInterface, ConfigurableFixerInterface
uses
ConfigurableFixerTrait
FinalYes
Tags
Table of Contents
Interfaces
Methods
- getDefinition() : FixerDefinitionInterface
- Returns the definition of the fixer.
- getPriority() : int
- Returns the priority of the fixer.
- applyPhpUnitClassFix() : void
- createConfigurationDefinition() : FixerConfigurationResolverInterface
- isAllowedByConfiguration() : bool
Methods
getDefinition()
Returns the definition of the fixer.
public
getDefinition() : FixerDefinitionInterface
Return values
FixerDefinitionInterfacegetPriority()
Returns the priority of the fixer.
public
getPriority() : int
Must run before FinalInternalClassFixer, PhpdocSeparationFixer.
Return values
intapplyPhpUnitClassFix()
protected
applyPhpUnitClassFix(Tokens $tokens, int $startIndex, int $endIndex) : void
Parameters
- $tokens : Tokens
- $startIndex : int
- $endIndex : int
createConfigurationDefinition()
protected
createConfigurationDefinition() : FixerConfigurationResolverInterface
Return values
FixerConfigurationResolverInterfaceisAllowedByConfiguration()
private
isAllowedByConfiguration(Tokens $tokens, int $index) : bool
Parameters
- $tokens : Tokens
- $index : int