Documentation

PhpUnitInternalClassFixer extends AbstractPhpUnitFixer
in package
implements WhitespacesAwareFixerInterface, ConfigurableFixerInterface uses ConfigurableFixerTrait

FinalYes
Tags
author

Gert de Pagter BackEndTea@gmail.com

implements

ConfigurableFixerInterface<_AutogeneratedInputConfiguration, _AutogeneratedComputedConfiguration>

phpstan-type

_AutogeneratedInputConfiguration array{ types?: list<'abstract'|'final'|'normal'> }

phpstan-type

_AutogeneratedComputedConfiguration array{ types: list<'abstract'|'final'|'normal'> }

Table of Contents

Interfaces

WhitespacesAwareFixerInterface
ConfigurableFixerInterface

Methods

getDefinition()  : FixerDefinitionInterface
Returns the definition of the fixer.
getPriority()  : int
Returns the priority of the fixer.
applyPhpUnitClassFix()  : void
createConfigurationDefinition()  : FixerConfigurationResolverInterface
isAllowedByConfiguration()  : bool

Methods

getPriority()

Returns the priority of the fixer.

public getPriority() : int

Must run before FinalInternalClassFixer, PhpdocSeparationFixer.

Return values
int

applyPhpUnitClassFix()

protected applyPhpUnitClassFix(Tokens $tokens, int $startIndex, int $endIndex) : void
Parameters
$tokens : Tokens
$startIndex : int
$endIndex : int

        
On this page

Search results