Documentation

PhpUnitNoExpectationAnnotationFixer extends AbstractPhpUnitFixer
in package
implements ConfigurableFixerInterface, WhitespacesAwareFixerInterface uses ConfigurableFixerTrait

FinalYes
Tags
author

Dariusz Rumiński dariusz.ruminski@gmail.com

implements

ConfigurableFixerInterface<_AutogeneratedInputConfiguration, _AutogeneratedComputedConfiguration>

phpstan-type

_AutogeneratedInputConfiguration array{ target?: '3.2'|'4.3'|'newest', use_class_const?: bool }

phpstan-type

_AutogeneratedComputedConfiguration array{ target: '3.2'|'4.3'|'newest', use_class_const: bool }

Table of Contents

Interfaces

ConfigurableFixerInterface
WhitespacesAwareFixerInterface

Properties

$fixMessageRegExp  : bool

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
configurePostNormalisation()  : void
createConfigurationDefinition()  : FixerConfigurationResolverInterface
annotationsToParamList()  : array<int, string>
extractContentFromAnnotation()  : string

Properties

Methods

getPriority()

Returns the priority of the fixer.

public getPriority() : int

Must run before NoEmptyPhpdocFixer, PhpUnitExpectationFixer.

Return values
int

annotationsToParamList()

private annotationsToParamList(array<string, string> $annotations) : array<int, string>
Parameters
$annotations : array<string, string>
Return values
array<int, string>

        
On this page

Search results