PHP Class PhpCsFixer\Fixer\PhpUnit\PhpUnitConstructFixer

Author: Dariusz Rumiński ([email protected])
Inheritance: extends PhpCsFixer\AbstractFixer, implements PhpCsFixer\Fixer\ConfigurableFixerInterface
Mostra file Open project: friendsofphp/php-cs-fixer

Public Methods

Method Description
configure ( array $configuration = null )
fix ( SplFileInfo $file, Tokens $tokens )
getPriority ( )
isCandidate ( Tokens $tokens )
isRisky ( )

Protected Methods

Method Description
getDescription ( )

Private Methods

Method Description
fixAssert ( array $map, Tokens $tokens, integer $index, string $method ) : integer | null
fixAssertNegative ( Tokens $tokens, integer $index, string $method ) : integer | null
fixAssertPositive ( Tokens $tokens, integer $index, string $method ) : integer | null

Method Details

configure() public method

public configure ( array $configuration = null )
$configuration array

fix() public method

public fix ( SplFileInfo $file, Tokens $tokens )
$file SplFileInfo
$tokens PhpCsFixer\Tokenizer\Tokens

getDescription() protected method

protected getDescription ( )

getPriority() public method

public getPriority ( )

isCandidate() public method

public isCandidate ( Tokens $tokens )
$tokens PhpCsFixer\Tokenizer\Tokens

isRisky() public method

public isRisky ( )