Documentation

PhpUnitSizeClassFixer extends AbstractPhpUnitFixer
in package
implements WhitespacesAwareFixerInterface, ConfigurableFixerInterface uses ConfigurableFixerTrait

FinalYes
Tags
author

Jefersson Nathan malukenho.dev@gmail.com

implements

ConfigurableFixerInterface<_AutogeneratedInputConfiguration, _AutogeneratedComputedConfiguration>

phpstan-type

_AutogeneratedInputConfiguration array{ group?: 'large'|'medium'|'small' }

phpstan-type

_AutogeneratedComputedConfiguration array{ group: 'large'|'medium'|'small' }

Table of Contents

Interfaces

WhitespacesAwareFixerInterface
ConfigurableFixerInterface

Constants

SIZES  = ['small', 'medium', 'large']

Methods

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

Constants

Methods

getPriority()

Returns the priority of the fixer.

public getPriority() : int

Must run before 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