Documentation

PhpUnitMockShortWillReturnFixer extends AbstractPhpUnitFixer
in package

FinalYes
Tags
author

Michał Adamski michal.adamski@gmail.com

author

Kuba Werłos werlos@gmail.com

Table of Contents

Constants

RETURN_METHODS_MAP  = ['returnargument' => 'willReturnArgument', 'returncallback' => 'willReturnCallback', 'returnself' => 'willReturnSelf', 'returnvalue' => 'willReturn', 'returnvaluemap' => 'willReturnMap']

Methods

getDefinition()  : FixerDefinitionInterface
isRisky()  : bool
applyPhpUnitClassFix()  : void

Constants

RETURN_METHODS_MAP

private mixed RETURN_METHODS_MAP = ['returnargument' => 'willReturnArgument', 'returncallback' => 'willReturnCallback', 'returnself' => 'willReturnSelf', 'returnvalue' => 'willReturn', 'returnvaluemap' => 'willReturnMap']

Methods


        
On this page

Search results